Exam TDA-C01 All QuestionsBrowse all questions from this exam
Question 28

You have the following dataset.

You plan to create a dashboard that will be filtered to show only data that is relevant to a specific Tableau user based on the Tableau_User_Name field.

You need to create a boolean calculated field to place on the data source filter.

Which formula should you use for the filter?

    Correct Answer: C

    To create a boolean calculated field that filters the dataset based on the Tableau_User_Name field, you need a formula that directly compares the current Tableau user's username with the Tableau_User_Name field in the dataset. The expression USERNAME() = [Tableau_User_Name] accomplishes this comparison by checking if the username of the person currently logged into Tableau matches the Tableau_User_Name field in the dataset. If they match, the result is TRUE, and the data relevant to that user will be shown on the dashboard.

Discussion
ntprodiigyOption: C

C is the correct answer.

gsing11Option: C

Answer is correct!

mnnopenOption: C

C is the correct answer.

Hiyush1111Option: A

It says in the question that we need to create a boolean calculated field. ANSWER **A**

MonBoujOption: C

C. USERNAME()=[Tableau_User_Name]

PdelOption: A

The answer is A, because it's boolean result https://help.tableau.com/current/pro/desktop/fr-fr/functions_functions_user.htm