Tableau Desktop Certified Professional — Question 77
You need to create a calculation that returns a customer name followed by a comma, a space, and then the customer’s age (for example John Doe, 32).
What should you include in the calculation?
Answer options
- A. [Customer Name) +"," + "STR[Age] "
- B. "Customer Name," + [Age]
- C. STR([Customer Name]) +"," STR("Age")
- D. [Customer Name) +"," + STR([Age])
Correct answer: D
Explanation
The correct answer is D because it correctly concatenates the customer's name with a comma and space, followed by their age converted to a string. Option A has a syntax error with brackets, option B does not convert the age to a string, and option C fails due to incorrect concatenation syntax.