Problems / Activation Rate by Signup Week / Editorial
project_created
[signup_time, signup_time + 7 days)
SELECT DISTINCT user_id
DATE_TRUNC('week', signup_time)
COUNT(*)
COUNT(a.user_id)
Activation metrics have a two-population shape: a numerator set defined by behavior (did the key action in the window) and a denominator set defined by existence (signed up that week). Compute the numerator set separately, *then* attach it to the denominator — the LEFT JOIN + COUNT(column) idiom. Collapsing both into one join tempts two classic errors: losing non-activators (inner join) and double-counting eager users (no DISTINCT).
COUNT(column)
Solve Activation Rate by Signup Week yourself →