Cyber Monday 2024! 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 8 Question 40 Discussion

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

You have the following dataset.

You want to create a new calculated dimension field named Category that meets the following conditions:

. When Subject is Computer Science or Science, Category must be Sciences.

. When Subject is English or Social Studies, Category must be Humanities.

Which two logical functions achieve the goal? Choose two.

Show Suggested Answer Hide Answer
Suggested Answer: A, D

To create a new calculated dimension field named Category that meets the given conditions, you can use either the IF or the CASE logical function. Both functions allow you to evaluate an expression and return a value based on different scenarios. Option A uses the IF function with multiple ELSEIF clauses to check the value of the Subject field and assign it to either 'Sciences' or 'Humanities'. Option D uses the CASE function with multiple WHEN clauses to do the same thing. Both options will produce the same result, but the CASE function is more concise and easier to read. Option B is incorrect because it will assign 'Humanities' to any subject that contains 'Science' in its name, which is not the desired outcome. Option C is incorrect because it will only check if the subject ends with 'Computer Science' and ignore the other subjects.Reference:

Logical Functions - Tableau

Tableau Certified Data Analyst Study Guide


Contribute your Thoughts:

Lelia
6 months ago
Yes, A and D make sense. The other options don't fit as well.
upvoted 0 times
...
Paris
6 months ago
Alright, so final picks are A and D?
upvoted 0 times
...
Mari
6 months ago
Yes, A works. It uses if-else to categorize correctly.
upvoted 0 times
...
Lelia
6 months ago
What about A? It seems to meet the requirements as well.
upvoted 0 times
...
Paris
6 months ago
D looks good to me too. It covers all conditions properly.
upvoted 0 times
...
Muriel
6 months ago
Agree, But I'm leaning towards D for one of the answers.
upvoted 0 times
...
Lelia
7 months ago
I think the question is a bit tricky.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77