TDA-C01 Exam QuestionsBrowse all questions from this exam

TDA-C01 Exam - Question 106


What is a valid CASE statement?

Show Answer
Correct Answer:

Discussion

1 comment
Sign in to comment
ShazzyHawkOption: B
Apr 26, 2025

CASE statements in Tableau compare one field (the expression next to CASE) to simple values in each WHEN. CASE [Category] WHEN "Furniture" OR "Office Supplies" THEN "Nonelectronics" ELSE [Category] END They cannot handle complex conditions like comparisons (>0) or logical operations (AND, etc.) inside WHEN.