Challenge - 5 Problems
LOD Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ dax_lod_result
intermediate2:00remaining
Calculate Customer First Purchase Date Using LOD Expression
You have a sales dataset with fields: CustomerID, OrderDate, and SalesAmount. Which Tableau LOD expression correctly calculates the first purchase date for each customer?
Attempts:
2 left
💡 Hint
Think about fixing the calculation at the customer level to get their earliest order date.
✗ Incorrect
The FIXED LOD expression fixes the calculation at the CustomerID level and returns the minimum OrderDate, which is the first purchase date for each customer.
❓ visualization
intermediate2:00remaining
Best Visualization for Customer Cohort Analysis
You want to visualize customer retention by cohorts based on their first purchase month. Which visualization type is best suited for this purpose?
Attempts:
2 left
💡 Hint
Cohort analysis tracks groups over time, so a time series visualization is best.
✗ Incorrect
A line chart showing retention over time by cohort clearly shows how each group of customers behaves month by month.
❓ data_modeling
advanced2:30remaining
Designing Data Model for Cohort Analysis
You want to perform cohort analysis by customer first purchase month and track their monthly retention. Which data model design is best to support this in Tableau?
Attempts:
2 left
💡 Hint
Think about how to relate customer info with their orders efficiently.
✗ Incorrect
A star schema with a customer dimension and fact sales table allows easy calculation of first purchase and cohort grouping.
🎯 Scenario
advanced3:00remaining
Using LOD to Calculate Cohort Retention Rate
You have a dataset with CustomerID, OrderDate, and SalesAmount. You want to calculate the retention rate for each monthly cohort (based on first purchase month) for subsequent months. Which approach using Tableau LOD expressions is correct?
Attempts:
2 left
💡 Hint
Retention requires knowing the cohort and tracking customers over time.
✗ Incorrect
FIXED LOD fixes the first purchase month per customer, enabling cohort grouping. Then counting customers active in each month divided by cohort size gives retention rate.
🔧 Formula Fix
expert2:00remaining
Identify the Error in This LOD Expression for First Purchase Date
You wrote this Tableau LOD expression to get the first purchase date per customer: { FIXED [CustomerID] : MIN(OrderDate) }. However, Tableau returns an error. What is the cause?
Tableau
{ FIXED [CustomerID] : MIN(OrderDate) }Attempts:
2 left
💡 Hint
Check the syntax for field references in Tableau LOD expressions.
✗ Incorrect
In Tableau, field names must be enclosed in square brackets inside LOD expressions. Missing brackets cause syntax errors.