0
0
Tableaubi_tool~20 mins

Cohort analysis patterns in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
πŸŽ–οΈ
Cohort Analysis Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ dax_lod_result
intermediate
2:00remaining
Calculate Monthly Cohort Size Using LOD Expression
You have a dataset with customer sign-up dates and purchase dates. Which Tableau LOD expression correctly calculates the number of customers who signed up in each month (cohort size)?
A{ INCLUDE DATETRUNC('month', [Purchase Date]) : COUNTD([Customer ID]) }
B{ EXCLUDE [Customer ID] : COUNTD([SignUp Date]) }
C{ FIXED [Customer ID] : COUNTD(DATETRUNC('month', [SignUp Date])) }
D{ FIXED DATETRUNC('month', [SignUp Date]) : COUNTD([Customer ID]) }
Attempts:
2 left
πŸ’‘ Hint
Think about fixing the cohort by sign-up month and counting unique customers.
❓ visualization
intermediate
2:00remaining
Best Visualization for Monthly Cohort Retention
You want to show how many customers from each monthly cohort make repeat purchases over the next 6 months. Which visualization type best communicates this pattern in Tableau?
ALine chart with purchase dates on X-axis and total sales on Y-axis
BPie chart showing total customers per cohort
CHeatmap with cohorts on rows and months since sign-up on columns, colored by retention count
DBar chart showing total purchases per month
Attempts:
2 left
πŸ’‘ Hint
Think about showing retention over time for each cohort distinctly.
🧠 Conceptual
advanced
1:30remaining
Understanding Cohort Analysis Purpose
Why is cohort analysis important in business intelligence when analyzing customer behavior?
AIt groups customers by shared characteristics to track behavior over time, revealing retention and lifecycle patterns.
BIt aggregates all customers into one group to calculate total sales only.
CIt predicts future sales using only last month’s data.
DIt removes outliers from the dataset to improve accuracy.
Attempts:
2 left
πŸ’‘ Hint
Think about how grouping by time of first action helps understand behavior changes.
❓ data_modeling
advanced
2:30remaining
Designing Data Model for Cohort Analysis
Which data model design best supports efficient cohort analysis in Tableau?
AA fact table with customer transactions linked to a customer dimension table containing sign-up date
BA single flat table with all data duplicated for each transaction without keys
CSeparate tables for sales and marketing with no relationship
DOnly aggregated monthly sales data without customer details
Attempts:
2 left
πŸ’‘ Hint
Think about how to connect transactions to customer cohorts efficiently.
πŸ”§ Formula Fix
expert
3:00remaining
Identify the Error in Cohort Retention Calculation
You wrote this Tableau calculated field to compute retention rate for each cohort month:

SUM([Repeat Purchases]) / COUNTD([Customer ID])

But the retention rates are incorrect and inconsistent. What is the most likely cause?
Tableau
SUM([Repeat Purchases]) / COUNTD([Customer ID])
ACOUNTD([Customer ID]) counts repeat purchases instead of unique customers.
BThe denominator counts all customers, not just those in the cohort month, causing incorrect retention rates.
CThe formula should use AVG instead of SUM for repeat purchases.
DSUM aggregation cannot be used on [Repeat Purchases] because it is a string field.
Attempts:
2 left
πŸ’‘ Hint
Check if the denominator matches the cohort group correctly.