Challenge - 5 Problems
Calculation Mastery in Tableau
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate2:00remaining
What is the output of this Tableau calculated field?
Consider a dataset with sales data. The calculated field is:
What will be the output for a region with total sales of 1200?
IF SUM([Sales]) > 1000 THEN 'High' ELSE 'Low' END
What will be the output for a region with total sales of 1200?
Tableau
IF SUM([Sales]) > 1000 THEN 'High' ELSE 'Low' END
Attempts:
2 left
💡 Hint
Think about what the IF statement checks and what it returns.
✗ Incorrect
The calculation checks if the sum of sales is greater than 1000. Since 1200 is greater than 1000, it returns 'High'.
❓ data_output
intermediate2:00remaining
How many rows will the calculation add to the view?
You create a calculated field in Tableau that categorizes customers as:
If your data has 500 customers, how many rows will this calculation add to the view when used as a dimension?
IF [Profit] > 0 THEN 'Profitable' ELSE 'Not Profitable' END
If your data has 500 customers, how many rows will this calculation add to the view when used as a dimension?
Tableau
IF [Profit] > 0 THEN 'Profitable' ELSE 'Not Profitable' END
Attempts:
2 left
💡 Hint
Think about how many unique categories the calculation creates.
✗ Incorrect
The calculation creates two categories: 'Profitable' and 'Not Profitable'. So when used as a dimension, it groups customers into these two rows.
❓ visualization
advanced2:00remaining
Which option shows the correct use of a running total calculation in Tableau?
You want to create a running total of sales over months. Which calculated field expression correctly computes this?
Attempts:
2 left
💡 Hint
Running total sums values cumulatively over a dimension.
✗ Incorrect
RUNNING_SUM(SUM([Sales])) correctly computes the cumulative sum of sales over the partitioned dimension (e.g., months).
🧠 Conceptual
advanced2:00remaining
Why do calculations extend data analysis in Tableau?
Which of the following best explains why calculations extend data analysis in Tableau?
Attempts:
2 left
💡 Hint
Think about how calculations add value beyond raw data.
✗ Incorrect
Calculations let you create new fields and metrics that help uncover patterns and insights not directly visible in the original data.
🔧 Formula Fix
expert2:00remaining
What error does this Tableau calculation produce?
Consider this calculated field:
What error will Tableau show when you try to use this calculation?
IF [Sales] > 1000 THEN 'High' ELSE END
What error will Tableau show when you try to use this calculation?
Tableau
IF [Sales] > 1000 THEN 'High' ELSE END
Attempts:
2 left
💡 Hint
Check the ELSE part of the IF statement.
✗ Incorrect
The ELSE clause must have an expression. Leaving it empty causes a syntax error.