AnalystPath

Dashboard adoption and retention cliff

SQLHardSenior level~15 min

Problem

For Pro users who started in January 2024, compare 30-day retention for users who viewed a dashboard in their first 14 days versus users who did not.

Tables

Example rows — the live problem includes the full dataset.

subscriptions
user_idplanstart_datecanceled_at
1Pro2024-01-02
2Pro2024-01-042024-01-18
9Team2024-01-05
feature_usage
iduser_idused_atfeature
112024-01-04dashboard_view
552024-02-02dashboard_view
662024-02-05export_csv

Expected output

Your answer should return 2 rows with the columns adopted_dashboard, users, retained_30d, retention_rate.

Starter code (SQL)

SELECT *
FROM subscriptions;

Solve this SQL question free

Write SQL and run it instantly in your browser — even on your phone. No signup needed to try.

Solution & explanation

Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.

Sign up free to unlock

Related SQL questions