Telemetry
Interactive SaaS SQL Lab

Foundations · Beginner

Summarize daily product activity

Which milestones are users completing on each day?

Start with one event table, group durable product milestones into UTC days, and keep successful volume separate from all attempts.

Reviewed by the Telemetry product team on . Read-only SQL, connected-table grain, deterministic result, visualization, and interpretation boundaries. Review standards and ownership

Runs against one versioned 15-table dataset

Edit and execute the query locally in your browser, then download the same synthetic schema and rows for DuckDB.

FoundationsBeginner

Summarize daily product activity

Which milestones are users completing on each day?

Start with one event table, group durable product milestones into UTC days, and keep successful volume separate from all attempts.

The dataset and query remain in this browser.

Published expected result

Daily successful product milestones

activity_dayeventssuccessful_eventsactive_accounts
2026-07-01221
2026-07-02442
2026-07-03322
2026-07-04441
2026-07-05332
2026-07-06221
2026-07-08111
2026-07-09111
2026-07-12111

How to read the query

  • The UTC day is derived from the event timestamp instead of a client-supplied date label.
  • Event volume and distinct active accounts answer different questions, so both remain visible.
  • The status condition prevents a failed integration attempt from being counted as a completed milestone.

Decisions the SQL cannot make

  1. 1Decide whether retries and repeated milestones should remain visible.
  2. 2Exclude internal, test, or bot accounts before treating this as adoption.
  3. 3Use complete time buckets when comparing recent days.

Continue from this lesson