Dashboard Mode - Cohort analysis patterns
Business Question
How do different customer groups (cohorts) behave over time after their first purchase?
Jump into concepts and practice - no test required
How do different customer groups (cohorts) behave over time after their first purchase?
| Customer ID | First Purchase Month | Purchase Month | Sales Amount |
|---|---|---|---|
| 101 | 2023-01 | 2023-01 | 100 |
| 101 | 2023-01 | 2023-02 | 50 |
| 102 | 2023-01 | 2023-03 | 70 |
| 103 | 2023-02 | 2023-02 | 200 |
| 103 | 2023-02 | 2023-03 | 100 |
| 104 | 2023-03 | 2023-03 | 150 |
| 105 | 2023-03 | 2023-04 | 80 |
+----------------------+-----------------------+
| Total Customers KPI | Total Sales KPI |
| (Top Left) | (Top Right) |
+----------------------+-----------------------+
| Line Chart: Sales Over Months |
| Since First Purchase by Cohort |
+-------------------------------------------------------------+
| Heatmap: Retention Rate |
+-------------------------------------------------------------+
| Raw Data Table |
+-------------------------------------------------------------+
Cohort Filter: Select a cohort month (e.g., Jan 2023) to update all components to show data only for that cohort.
Month Offset Slider: Filter the line chart and heatmap to show data for a specific range of months since first purchase.
Hover on Heatmap: Show exact retention rate percentage for that cohort and month.
Click on Table Row: Highlight corresponding cohort in charts.
If you add a filter to select the cohort "2023-02", which components update and what changes do you expect?
DATETRUNC('month', [Signup Date]) and the current month as DATETRUNC('month', TODAY()), what does this calculation return?DATEDIFF('month', DATETRUNC('month', [Signup Date]), DATETRUNC('month', TODAY()))DATEDIFF('month', [Cohort Start], [Order Date])