TDA-C01 Exam QuestionsBrowse all questions from this exam

TDA-C01 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?

Show Answer
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

14 comments
Sign in to comment
gsing11
Aug 24, 2023

Answer is correct!

PdelOption: A
Nov 30, 2023

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

ntprodiigy
Mar 4, 2024

C is the correct answer.

mnnopenOption: C
Mar 8, 2024

C is the correct answer.

bc1b1f7Option: C
Sep 5, 2024

It's C because isfullname() fuction can't use feild

bc1b1f7
Sep 5, 2024

oops, feild -> field

Sarah2822Option: A
Sep 5, 2024

Returns TRUEwhether the person currently using Tableau is a member of a group matching the given string. Returns FALSEif they are not a member, and NULLif they are not logged in.

MonBoujOption: C
May 29, 2024

C. USERNAME()=[Tableau_User_Name]

Hiyush1111Option: A
Jul 18, 2024

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

Hiyush1111Option: C
Jul 24, 2024

Sorry, it is C

iamDjayOption: A
Jan 15, 2025

It is the correct answer since it will return Boolean value

FCerveraOption: C
Jan 21, 2025

It is C (it is not A because the ISFULLNAME() argument is a text and can't be a field).

willysjose2026Option: C
Feb 11, 2025

Most be C. This is because A is comparing a boolean against a string with the = operator, the ISFULLNAME function can't accept fields. B is comparing name field with tableau_user_name which doesn't make any sense. And D is comparing the Name with the USERNAME() function which returns the current username, which is an email address for tableau server and not the full name of the user.

henryhsuOption: D
Mar 15, 2025

This is the way we do it in our company

ShazzyHawkOption: C
Apr 30, 2025

USERNAME() is a built-in Tableau function that returns the user's Tableau login name (usually their email or AD name, depending on setup). Comparing it to [Tableau_User_Name] creates a boolean calculated field that’s TRUE only for rows belonging to the logged-in user. You can then drag this calculated field to the data source filter to restrict data at the source level.