Interview practice question
Cumulative revenue per customer cohort
Data Analyst · SQL for Analytics · Experienced
Build the logic for a report showing cumulative revenue per customer, by signup cohort, for each month since signup.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Cohort month per customer.
- Revenue per customer per month offset.
- Sum per cohort and offset.
- Running total over offsets.
- Divide by cohort size; mature cohorts only.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.