Problems / Events per Active User / Editorial
DATE_TRUNC('day', event_time)
COUNT(*)
COUNT(DISTINCT user_id)
total_events * 1.0 / active_users
ROUND(..., 2)
1.0
COUNT(*) and COUNT(DISTINCT ...) answer different questions about the *same* group — volume versus reach — and their ratio is often more informative than either alone: a day with rising events but flat users means the same people digging deeper, not growth. Recognizing that both live in one GROUP BY keeps a two-metric report to a single scan.
COUNT(DISTINCT ...)
Solve Events per Active User yourself →