Field note · January 19, 2025
Five minutes with signed_up_on in saas-subscriptions
2,500 rows, 947 distinct values, and the one fact about signed_up_on that changes how you query it.
Someone asked what is in signed_up_on on saas-subscriptions, and the honest answer took one query.
2,500 rows, no nulls, 947 distinct values. First paid day.
It runs from 2023-01-04 to 2025-12-01, covering 947 distinct days.
It is a date rather than a timestamp, so there is no time zone to get wrong here. That is worth noticing, because the moment a column like this gains a time component, every daily aggregate silently shifts for anyone not in UTC.
select
count(*) as rows,
count(signed_up_on) as present,
count(*) - count(signed_up_on) as nulls,
count(distinct signed_up_on) as distinct_values
from saas_subscriptions;Check the range before filtering on it. Half the "the dashboard is empty" reports we have seen are a date filter outside the data's actual range, and the query is not wrong so nothing errors.
Where this bites: 947 populated days is what any window function over this column has to work with. A seven-day lag counts rows, not days — so if a day is missing, lag(7) quietly compares against eight days ago and the week-over-week number is wrong in a way that looks plausible.
The grain is one row per account, which is the context every one of those numbers depends on. None of them survive a change of grain, which is why "profile the column" and "profile the table" are the same job. Full schema, and the CSV, on the dataset page.