Quick Commerce Analytics Path · Mission 17 of 25Expert

Customer LTV with substitution exposure controls

Compute lifetime value per signup cohort, split by substitution exposure, to compare like cohorts rather than the whole base. Multi-CTE with conditional grouping.

The Brief

You'll practice

Cohort LTVConditional aggregationMatched cohort