What is a valid CASE statement?
What is a valid CASE statement?
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.