TDS-C01 practice question 20 of 35

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?

Full set: 316 questions
Answer options
A: [Customer Name] + "," + "STR[Age]''
B: STR([Customer Name]) + "," STR(‘’Age")
C: "Customer Name," + [Age]
D: [Customer Name] + "," + STR([Age]) Correct answer
Correct Answer:
D. [Customer Name] + "," + STR([Age])
Explanation

According to the Tableau Desktop Specialist Exam Readiness, to create a calculation that returns a customer name followed by a comma, a space, and then the customer’s age, you should use the formula [Customer Name] + “,” + STR([Age]). This is because you need to concatenate strings using the + operator, and convert the numeric field [Age] to a string using the STR() function.

Scroll to Top