Problems / Weekly Engagement Tiers / Editorial
GROUP BY user_id
>= 10
>= 3
BETWEEN
COUNT(*)
Segmentation reports are two stacked aggregations with a *labeling step* in between. The subtle part is that after the first GROUP BY, the row grain has changed from events to users — so the second COUNT(*) means "users", and no DISTINCT is needed anywhere.
GROUP BY
DISTINCT
Solve Weekly Engagement Tiers yourself →