0
0
Tableaubi_tool~20 mins

INCLUDE LOD expression in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
INCLUDE 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 per Customer Including Region

You have sales data with Customer and Region fields. You want to calculate the average sales per customer but include Region in the calculation using an INCLUDE LOD expression.

Which of the following Tableau calculations correctly uses INCLUDE LOD to achieve this?

A{ INCLUDE [Region] : AVG([Sales]) }
B{ INCLUDE [Customer] : SUM([Sales]) }
C{ EXCLUDE [Region] : AVG([Sales]) }
D{ FIXED [Customer] : AVG([Sales]) }
Attempts:
2 left
💡 Hint

INCLUDE LOD adds dimensions to the view for aggregation.

visualization
intermediate
2:00remaining
Best Visualization for INCLUDE LOD Showing Sales by Customer and Region

You created an INCLUDE LOD calculation to get average sales per customer including region. Which visualization best shows this data clearly?

AA bar chart with Customer on the x-axis and average sales on the y-axis, colored by Region
BA pie chart showing total sales by Region only
CA line chart showing sales over time without region breakdown
DA scatter plot with sales on x-axis and customer count on y-axis
Attempts:
2 left
💡 Hint

Think about showing both Customer and Region dimensions clearly.

🧠 Conceptual
advanced
2:00remaining
Understanding INCLUDE LOD Behavior

Which statement best describes how INCLUDE LOD expressions behave in Tableau?

AINCLUDE LOD removes specified dimensions from the view level of detail for aggregation.
BINCLUDE LOD adds specified dimensions to the view level of detail for aggregation, even if they are not in the view.
CINCLUDE LOD fixes the aggregation at the specified dimensions regardless of the view.
DINCLUDE LOD ignores all dimensions and calculates aggregation at the data source level.
Attempts:
2 left
💡 Hint

Think about what INCLUDE means in terms of dimensions.

🔧 Formula Fix
advanced
2:00remaining
Identify the Error in INCLUDE LOD Expression

Review the following Tableau INCLUDE LOD expression:

{ INCLUDE [Region] AVG([Sales]) }

What is the error in this expression?

Tableau
{ INCLUDE [Region] AVG([Sales]) }
ABraces '{}' should be parentheses '()'
BIncorrect use of square brackets around Region
CAVG function cannot be used inside INCLUDE LOD
DMissing colon ':' between dimension and aggregation
Attempts:
2 left
💡 Hint

Check the syntax for INCLUDE LOD expressions carefully.

🎯 Scenario
expert
3:00remaining
Using INCLUDE LOD to Compare Sales with and without Region

You want to create a dashboard that compares average sales per customer including region and average sales per customer ignoring region. Which two LOD expressions should you use?

A{ FIXED [Region] : AVG([Sales]) } and { EXCLUDE [Customer] : AVG([Sales]) }
B{ EXCLUDE [Region] : AVG([Sales]) } and { INCLUDE [Customer] : AVG([Sales]) }
C{ INCLUDE [Region] : AVG([Sales]) } and { FIXED [Customer] : AVG([Sales]) }
D{ FIXED [Customer, Region] : AVG([Sales]) } and { INCLUDE [Customer] : AVG([Sales]) }
Attempts:
2 left
💡 Hint

Think about how FIXED and INCLUDE control aggregation levels.