Data Modeling

Why every SaaS product team needs a data model

Data ModelingIevgen Krasovytskyi9 min read

Why every SaaS product team needs a data model

The product manager asks how many active users you have. The growth dashboard says 3,268. The engagement report says 3,275. The account-health sheet says 2,394. Each comes from a query someone on your team wrote in good faith, on the same warehouse, on the same day, and the PM now wants to know which one goes in the board deck.

A SaaS product team needs a data model because its core metrics are not columns. MRR, active users, churn and trial conversion are each a decision about grain, status and time window, and without a model every query makes that decision again. This article shows, on one dataset, how far apart the answers get, which entities a SaaS model needs, and how to sketch the first Data Marts.

Reading to get this done?

Four product metrics, three answers each

Four product metrics, three answers each

Every figure below was computed on 9 November 2026 on the demo data behind the published SaaS data model (owox-demo.saas, synthetic: 6,000 accounts, 8,000 subscriptions, usage up to 8 November 2026). All queries are valid. None returned an error.

Metric Reading 1 Reading 2 Reading 3
MRR $17,069,225: SUM(mrr) over every subscription $14,698,282: SUM(active_mrr) $13,005,078: SUM(mrr) where status = 'active'
Active users, 30 days 3,268: is_active flag on the user 3,275: users with any daily usage row 2,394: last_active_at within 30 days
Churn, October 2026 99: subscriptions with canceled_at in October 105: churn rows in subscription events 100: accounts with a churn event
Trial conversion 9.5%: 314 of 3,296 trials 12.2%: 309 of 2,541 trialling accounts 94.8%: trialling accounts that have any subscription

MRR

mrr is the contracted rate and does not change when a subscription is cancelled, so the first reading still counts churned customers. active_mrr drops to zero on cancellation but keeps past-due subscriptions, because a failed payment does not end the contract. The third reading treats past-due as lost revenue. Finance usually wants the second; a collections report might want the third. Both are defensible. Two of them in one board deck are not.

There is a fourth trap in the same table: a currency column. Every amount in this dataset is already in USD, and the column records only what the customer is billed in. The field description says so. Without it, someone converts the amounts a second time.

Active users

The 30-day window is not the problem; the source is. is_active says whether the seat is enabled. Usage rows say whether the person did something. last_active_at is a third system’s timestamp, and in this data it lags the usage table by 881 users. A PM asking about engagement means the second reading. Nobody reading the dashboard can tell which one it shows.

Churn

99, 105 and 100 look close enough to ignore. They answer different questions: subscriptions lost, churn movements recorded, customers lost. An account with two subscriptions that cancels both is one churned customer and two churned subscriptions. Churn rate divides one of these by a denominator, and if the numerator and the denominator are counted at different grains the rate is wrong even when both counts are right.

Trial conversion

The first two readings differ by grain: an account can start several trials. The third is the one that gets written at 6pm before a review: join trialling accounts to subscriptions and count matches. It returns 94.8% because almost every account that ever trialled has some subscription row, including ones that started long before or after the trial. Conversion needs the subscription to start within the trial, which is what converted_at records.

The join that removes half your revenue

The join that removes half your revenue

One more, because it is the failure that looks most like a right answer.

A report of MRR by user role joins subscriptions to users on account_id. On this dataset the join returns $10,004,024 of active MRR against the true $14,698,282. Two errors hide inside that one number. 4,069 subscriptions belong to accounts with no user rows, so the inner join silently drops $7,620,248. Accounts with several users repeat their subscription once per user, which adds $2,925,991 back. The result is off by 32%, and it looks like a perfectly plausible MRR.

-- Demo data, read-only. Run 9 November 2026.
WITH users_per_account AS (
  SELECT account_id, COUNT(*) AS n
  FROM `owox-demo.saas.user`
  GROUP BY account_id
)
SELECT
  ROUND(SUM(s.active_mrr)) AS true_active_mrr,
  ROUND(SUM(s.active_mrr * IFNULL(u.n, 0))) AS mrr_after_join_to_users,
  ROUND(SUM(IF(u.n IS NULL, s.active_mrr, 0))) AS dropped_no_users,
  ROUND(SUM(IF(u.n > 1, s.active_mrr * (u.n - 1), 0))) AS duplicated
FROM `owox-demo.saas.subscription` s
LEFT JOIN users_per_account u USING (account_id);

A model fixes this by declaring, once, that subscriptions relate to users through the account, and that a user-level field collapses to one value per subscription before it is added. Then “MRR by role” is a selection a PM can make, and it cannot multiply or drop rows.

Applied by hand, that rule looks like this: collapse users to one row per account (here, the list of roles on it), then left-join. The same report returns $14,698,282 across all 8,000 subscriptions, and the 4,069 with no user rows show up as “no users” instead of vanishing.

WITH roles AS (
  SELECT account_id, STRING_AGG(DISTINCT role ORDER BY role) AS roles
  FROM `owox-demo.saas.user`
  GROUP BY account_id
)
SELECT ROUND(SUM(s.active_mrr)) AS active_mrr
FROM `owox-demo.saas.subscription` s
LEFT JOIN roles r USING (account_id);

Hand this to your AI

Your growth dashboard and engagement report disagree on active users, and the product manager wants the real number.

Paste this into your AI assistant. It maps your accounts, users, plans and subscriptions into one model and calculates MRR, active users and churn once.

The prompt

sketch the first Data Marts for my SaaS product: accounts, users, subscriptions and usage events, with one query each for MRR, active users, churn and trial conversion

Why product teams hit this more than other teams

Why product teams hit this more than other teams

Three things about SaaS data make it worse than most.

  • Billing and behaviour live in different systems. Subscriptions and invoices come from billing; usage comes from product events; trials may come from the CRM. Each has its own idea of who the customer is: an account, a user, a workspace, an email.
  • The grain changes inside one question. MRR is per subscription, seats are per user, health is per account, usage is per user per day. Most product questions cross at least two of them.
  • State changes over time. A customer on Pro in March and Enterprise in June has two right answers to “which plan are they on”, depending on the date of the question. A metric that ignores this attributes March’s usage to June’s plan.

A model is where these decisions are written down once: what an account is, what an active user is, which date a subscription change takes effect. New team members read the definitions instead of reverse-engineering them from old SQL. Product managers who can pick a described field can answer their own questions with the analyst’s definitions, which keeps every number at one version instead of four.

The entities a SaaS data model needs

The entities a SaaS data model needs

The published SaaS data model uses ten, and its page draws them as one diagram, with every key and relationship. The first six carry most product questions.

Accounts and users

The account is the customer; the user is a seat on it. Most product metrics are counted at one level and sliced by the other, so both need a key, and users carry their account’s key.

Plans and trials

Plans hold the price points: tier, billing interval, list price, and whether the plan is still sold. Trials hold the start, the end, the conversion timestamp and the source. Keep the conversion timestamp, not only a flag: the 94.8% above comes from not having it.

Subscriptions and payments

The subscription is the paid relationship: plan, seats, MRR, status, period dates and cancellation date. Invoices sit under it, with billed, collected and failed amounts. Contracted MRR and collected revenue are different metrics, and both are needed; the model names which is which.

Subscription events and usage

Subscription events are the MRR movements: new, expansion, contraction, churn, reactivation, each with its MRR change. A revenue waterfall and net revenue retention are sums over this table, so it is where churn should be counted from. Usage is one row per user per day, with active minutes, key actions and features used: the source for active users, feature adoption and cohort analysis.

Support tickets, invoices and marketing spend complete the model, and connect it to the questions a CS lead and a CFO ask: does a bad support experience predict churn, how much billed revenue was never collected, which channel pays back.

The questions it answers, and where each is counted

The questions it answers, and where each is counted

With those entities in place, the common product questions become selections with a fixed grain rather than new queries.

  • Which features are users adopting? Distinct users with usage of each feature, from daily usage, sliced by the account’s plan at the date of use.
  • What share of trials convert to paid? Trials with a conversion timestamp inside the trial window, counted per trial or per account, and the model says which.
  • Which plans retain best? Churn and contraction events per plan, divided by subscriptions on that plan at the start of the period, both counted at the subscription grain.
  • How does usage change over a customer’s life? Daily usage by weeks since the account’s signup date, the base of a cohort view.

Each answer names its grain. That is the whole difference between a question a model answers and one that gets three answers.

Sketch the first Data Marts

Sketch the first Data Marts

You do not need all ten entities to start. Start from the metric that caused the last argument, and model what it needs.

  1. Subscription, one row per subscription, primary key subscription_id. Describe mrr and active_mrr so the difference is on the field, not in someone’s head.
  2. Account, one row per account, primary key account_id. Subscriptions join to it many-to-one.
  3. Subscription events, one row per MRR movement. Churn and expansion are counted here, never inferred from status changes.
  4. User, one row per seat, joined to the account, with a rule for how user fields collapse when they are added to a subscription report.
  5. Usage (daily), one row per user per day. The definition of an active user is written here once: which action, which window.
  6. Trials, one row per trial, with the conversion timestamp, joined to the account.

In OWOX Data Marts each of these is a Data Mart the analyst defines with SQL, a table or a view, on your own warehouse: Google BigQuery, Snowflake, AWS Redshift, AWS Athena or Databricks. Field descriptions live on the Data Mart’s Output Schema tab. Relationships are declared on the Data Mart with Join Data Mart, with the join keys and how each joined field collapses to one value, so adding a user-level column cannot multiply MRR. Product managers then pick fields in Google Sheets, Excel or Data Studio, and the SQL behind every number is one click away.

The SaaS data model has all ten as a starting point: open it as a diagram, export it as an OKF bundle, or import it and adapt each Data Mart’s SQL to your own tables. The analyst still owns the definitions. The model makes sure every report uses them.

For the general case beyond SaaS, see the benefits of data modeling for business reporting, and for the full list of entities and columns, the SaaS data model template.

Hand this to your AI

Your growth dashboard and engagement report disagree on active users, and the product manager wants the real number.

Paste this into your AI assistant. It maps your accounts, users, plans and subscriptions into one model and calculates MRR, active users and churn once.

The prompt

sketch the first Data Marts for my SaaS product: accounts, users, subscriptions and usage events, with one query each for MRR, active users, churn and trial conversion

FAQ

Frequently Asked Questions

Can a SaaS product succeed without a data model?

It’s possible in the short term, but without a data model, teams often face messy metrics, misaligned reports, and slow decisions, making long-term success harder to achieve.

Who is responsible for creating the data model in a SaaS team?

Typically, data analysts or data engineers design the model, but product managers and stakeholders provide input to align it with business goals and user behavior.

How does a data model impact product scalability?

A good data model grows with the product. It takes new features, data sources and users without breaking existing reports or forcing rework, which makes it easier to scale both operations and reporting.

Why is a data model important for SaaS product teams?

It ensures consistent data definitions, reduces confusion, and speeds up decision-making. A strong data model helps teams align on metrics, improve reporting accuracy, and better understand product usage and performance.

What is a data model in a SaaS product?

A data model in a SaaS product defines how key elements like users, subscriptions, and events are organized and connected. It provides a clear structure for storing, accessing, and analyzing product data.

Who wrote this

Ievgen Krasovytskyi

Ievgen Krasovytskyi Head of Marketing

Ievgen Krasovytskyi is the Head of Marketing at OWOX, leading strategy across content, SEO, product marketing, and AI-powered automation. With deep expertise in analytics infrastructure, data warehouses, and marketing technology, he builds systems that connect marketing performance to business outcomes. Ievgen writes about SaaS growth, analytics workflows, and the future of AI in marketing operations.