0
0
Tableaubi_tool~20 mins

EXCLUDE LOD expression in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
EXCLUDE LOD Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
Calculate average sales excluding Region detail
Given a dataset with Sales and Region, which EXCLUDE LOD expression calculates the average sales ignoring the Region level of detail?
Tableau
{EXCLUDE [Region] : AVG([Sales])}
AAVG([Sales])
B{INCLUDE [Region] : AVG([Sales])}
C{FIXED [Region] : AVG([Sales])}
D{EXCLUDE [Region] : AVG([Sales])}
Attempts:
2 left
💡 Hint
EXCLUDE removes specified dimensions from the view level of detail.
visualization
intermediate
2:00remaining
Visualize total sales excluding Category
You want to create a bar chart showing total sales by Sub-Category but excluding the Category level in the calculation. Which Tableau LOD expression should you use in your calculated field?
A{EXCLUDE [Category] : SUM([Sales])}
B{INCLUDE [Category] : SUM([Sales])}
C{FIXED [Sub-Category] : SUM([Sales])}
DSUM([Sales])
Attempts:
2 left
💡 Hint
EXCLUDE removes the specified dimension from the calculation.
🧠 Conceptual
advanced
2:30remaining
Understanding EXCLUDE LOD behavior with multiple dimensions
If your view includes dimensions Region, Category, and Sub-Category, what does the expression {EXCLUDE [Category], [Sub-Category] : SUM([Profit])} compute?
ASum of Profit aggregated at Region level, excluding Category and Sub-Category
BSum of Profit aggregated at Category and Sub-Category level, excluding Region
CSum of Profit aggregated at the most detailed level including all dimensions
DSum of Profit aggregated at the entire dataset level ignoring all dimensions
Attempts:
2 left
💡 Hint
EXCLUDE removes specified dimensions from the view's level of detail.
🔧 Formula Fix
advanced
2:00remaining
Identify the error in EXCLUDE LOD expression
Which option contains a syntax error in the EXCLUDE LOD expression?
A{EXCLUDE [Region] : AVG([Profit])}
B{EXCLUDE Region : SUM([Sales])}
C{EXCLUDE [Region], [Category] : SUM([Sales])}
D{EXCLUDE [Region] : SUM([Sales])}
Attempts:
2 left
💡 Hint
Dimension names must be enclosed in square brackets.
🎯 Scenario
expert
3:00remaining
Use EXCLUDE LOD to compare sales with and without Category detail
You have a sales dataset with dimensions Region, Category, and Sub-Category. You want to create a calculated field that shows the difference between total sales at the Region level and total sales at the Region and Category level. Which expression correctly calculates this difference?
A{EXCLUDE [Category] : SUM([Sales])} - {INCLUDE [Category] : SUM([Sales])}
B{FIXED [Region] : SUM([Sales])} - {EXCLUDE [Category] : SUM([Sales])}
C{FIXED [Region] : SUM([Sales])} - {FIXED [Region], [Category] : SUM([Sales])}
D{EXCLUDE [Category] : SUM([Sales])} - {FIXED [Region], [Category] : SUM([Sales])}
Attempts:
2 left
💡 Hint
FIXED LOD expressions fix the level of detail regardless of view, EXCLUDE removes dimensions.