Finance Path · Mission 23 of 25Expert

Vendor onboarding cohorts

Cohort analysis grouping by onboarding quarter

Back to Finance

The Brief

Daniel OkaforControlleraccounting

I want a cohort view of vendor onboardings. Group vendors by the quarter they were onboarded (`onboarded_date`). Columns: `cohort_year`, `cohort_quarter`, `vendor_count`. Sort chronologically.

You'll practice

Date cohortsRetention logic

Tables available

dim_vendors

Hints (3)

Each hint you reveal reduces the XP you can earn. Try the query first.

Hint 1

EXTRACT(YEAR FROM onboarded_date::date), EXTRACT(QUARTER FROM onboarded_date::date).

Hint 2

COUNT(*) per cohort. GROUP BY both year and quarter.

Hint 3

ORDER BY cohort_year, cohort_quarter.