Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Tableau Exam TDA-C01 Topic 2 Question 66 Discussion

Actual exam question for Tableau's TDA-C01 exam
Question #: 66
Topic #: 2
[All TDA-C01 Questions]

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 finer Which formula should you use for the filter?

Show Suggested Answer Hide Answer
Suggested Answer: D

To create a boolean calculated field to place on the data source filter, you should use the formula USERNAME() = [Tableau_user]. This formula will return TRUE if the current Tableau user name matches the value in the Tableau_user field, and FALSE otherwise. You can use this formula as a data source filter by dragging it to the Filters shelf and selecting TRUE from the menu. This will filter the data to show only the rows that are relevant to the specific Tableau user.

The other options are not correct for this scenario. NAME([Tableau_user]) is not a valid function in Tableau. ISFULLNAME([Tableau_user]) = USERNAME() is not a valid expression in Tableau. 'S' + STR([Sales]/1000) is not a boolean expression, but a string expression that converts sales to thousands with a prefix of ''S''. Reference: https://help.tableau.com/current/pro/desktop/en-us/filtering_datasource.htm https://help.tableau.com/current/pro/desktop/en-us/functions_functions_logical.htm#USERNAME https://help.tableau.com/current/pro/desktop/en-us/calculations_calculatedfields.htm


Contribute your Thoughts:

Carissa
1 months ago
I'm not sure, but I think A) NAMEUSERNAME() might also work because it involves the username
upvoted 0 times
...
Janna
1 months ago
I agree with Viola, D) USERNAME()=(Tableau_USER_NAME) makes sense because it compares the username with Tableau user name
upvoted 0 times
...
Pa
1 months ago
A? NAMEUSERNAME()? What kind of nonsense is that? I'm going with D, the clear winner here.
upvoted 0 times
Rickie
20 days ago
Yeah, D is definitely the way to go. It just makes more sense.
upvoted 0 times
...
Aretha
26 days ago
I agree, D seems like the most logical choice here.
upvoted 0 times
...
Lorrine
28 days ago
I think D is the correct answer. It makes more sense.
upvoted 0 times
...
...
Viola
2 months ago
I think the correct answer is D) USERNAME()=(Tableau_USER_NAME)
upvoted 0 times
...
Queen
2 months ago
Haha, 'Tableau-USER-NAME'? Really? Definitely not that one, C is just plain wrong.
upvoted 0 times
...
Micah
2 months ago
B seems a bit convoluted with the ISFULLNAME() function. I'd stick with the straightforward D for this one.
upvoted 0 times
...
Katina
2 months ago
Hmm, option D looks like the way to go. Can't go wrong with a simple equality check between the USERNAME() function and the Tableau_USER_NAME field.
upvoted 0 times
Kathryn
10 days ago
I would go with option D as well.
upvoted 0 times
...
Gaston
17 days ago
I'm not sure, but I think D is the best choice.
upvoted 0 times
...
Rolande
23 days ago
Yeah, I agree. It seems like a straightforward comparison.
upvoted 0 times
...
Rima
27 days ago
I think option D is the correct one.
upvoted 0 times
...
Rozella
1 months ago
I think I'll go with option D as well. Thanks for the input!
upvoted 0 times
...
Krissy
2 months ago
Yeah, it's always best to keep it simple when creating calculated fields.
upvoted 0 times
...
Jestine
2 months ago
I agree, option D seems like the most straightforward choice.
upvoted 0 times
...
...

Save Cancel