This project showcases a full end-to-end SaaS financial analytics pipeline, built entirely with SQL and Mode Analytics.
It models how ARR growth, customer retention, and acquisition efficiency interact to drive company performance.
The dataset is synthetic but structured to mirror a real subscription business:
- SQL views calculate key financial metrics:
mrr_extension,mrr, andarrfor recurring revenueretention_cohorts.sqlandnrr_grrfor retention and expansion analysiscac_ltvfor unit economics (CAC, ARPU, LTV, Payback)arr_revenue_bridgefor ARR movementkpi.sqlfor the final monthly summary table
All SQL views are stored in /sql/ and can be executed in any Postgres-compatible engine or Mode query editor.
The Mode dashboard includes four key visuals:
- ARR Bridge (Waterfall) - breaks down growth into New Customers, Expansion, Contraction, and Churn.
- NRR & GRR Trend – tracks gross and net retention rates month-over-month.
- MRR & ARR Trend – shows recurring revenue scale and growth trajectory.
- Executive KPI Table – summarizes ARR, NRR, CAC, LTV, ARPU, and Payback with color-coded health flags.
- Retention: NRR >100% indicates expansion offsetting churn.
- Payback: CAC is recovered in ~6–8 months, signaling efficient growth.
- Scalability: This SQL setup supports segmentation by product, channel, or customer tier.
- SQL (Postgres-compatible) for metric calculations
- Mode Analytics for data exploration and dashboarding