Back to all articlesA single source of truth for metrics needs one name per definition
Josh KatowitzJosh Katowitz
Data and BI

A single source of truth for metrics needs one name per definition

A single source of truth (SSOT) is the agreed place where each piece of data is created or edited once, so every report that uses it starts from the same record. For metrics, a shared warehouse covers only part of that: three teams can query the same tables and report three subscriber counts, each correct by its own definition. A single source of truth for metrics also needs one approved definition per metric name, an owner for each, and a written reconciliation for every other version still in use.

Picture the first leadership review after the month closes at a subscription business. Finance reports 8,800 subscribers, up 100. Operations reports 9,750, down 150. The leadership dashboard shows 9,400, flat. All three teams queried the same account table. We invented the business and its counts to show the mechanism. None of them is a customer result, and a short script reproduced every total.

Three subscriber counts from one account table

At month end, the business sorts every account into one of five status groups. Accounts in groups C, D, and E all used the service in the last 30 days. Each team counts "subscribers" from the same table, with its own rule:

  • Finance counts paying subscribers: paid status at month end, which means groups A and B.
  • Operations counts active lines: service switched on at month end, including grace period and trials, which means groups A to D.
  • The leadership dashboard counts active users: anyone who used the service in the last 30 days, whatever the payment status, which means groups A, C, D, and E.
GroupStatus at month endPrior monthCurrent monthChangeFinanceOperationsDashboard
APaid, used the service in the last 30 days8,0008,200+200YesYesYes
BPaid, no use in the last 30 days700600-100YesYesNo
CPayment failed, in grace period, service still on300450+150NoYesYes
DFree trial900500-400NoYesYes
ECancelled during the month200250+50NoNoYes
—All accounts10,10010,000-100———
TeamGroups countedPrior monthCurrent monthChange
FinanceA + B8,7008,800+100 (+1.1%)
OperationsA + B + C + D9,9009,750-150 (-1.5%)
Leadership dashboardA + C + D + E9,4009,4000 (0.0%)

The current-month counts span 950 accounts, 9,750 less 8,800, which equals 10.8% of the finance count. They also point in different directions. Finance reports growth of 100, operations a decline of 150, and the dashboard no change.

Every number reconciles. Finance's 8,800 plus 450 grace-period accounts plus 500 trials gives operations' 9,750. Finance's 8,800, less 600 paid accounts with no use, plus 450, 500, and 250 cancelled accounts, gives the dashboard's 9,400.

A single group explains why the directions split. Trials fell by 400. Finance leaves trials out, so it sees paid growth of 200 less 100 idle accounts. Operations includes trials, and the drop outweighs its gains. On the dashboard, the trial drop exactly offsets the gains in groups A, C, and E (200 + 150 + 50).

Nobody made an arithmetic error. Finance's count answers a revenue question, operations' count answers a question about load on the service, and the dashboard's count answers one about engagement. To end the argument, give each definition its own name, choose which one the leadership review calls "subscribers," and keep this reconciliation next to the definitions.

What IBM, Wikipedia, and MuleSoft mean by the term

Wikipedia describes SSOT architecture as structuring information so that "every data element is mastered (or edited) in only one place" (Wikipedia). The same article admits that "An ideal implementation of SSOT is rarely possible in most enterprises," because companies run many systems, and each keeps its own copy of shared entities such as customers.

IBM pulls apart two terms that people often blur. A system of record is "an authoritative source of original business data," while a source of truth gathers and harmonizes data from several systems of record. IBM puts it this way: "SORs own the creation of data and its integrity within its domain. SOTs own the consistency of data across domains" (IBM).

For reporting, the warehouse usually takes the source-of-truth role. Wikipedia notes that a data warehouse often serves as a de facto SSOT, and that "single version of the truth" is the more accurate name, since no data originates there (Wikipedia). MuleSoft calls it neither a system nor a tool: an SSOT is "a state of being for a company's data" (MuleSoft).

Metrics add one layer above those two:

LayerWhat it ownsExample
System of recordCreation and integrity of original data in one domainThe billing system owns payment status
Source of truthConsistency of data across domainsThe warehouse model that joins billing, service, and usage for each account
Governed metric definitionOne meaning for each metric name"Paying subscribers" defined once in the semantic layer

That third layer usually takes the form of a semantic layer: metric and dimension definitions, governed in one place, that every tool querying the warehouse tables reads. dbt's documentation says that "if a metric definition changes in dbt, it's refreshed everywhere it's invoked" (dbt). In Looker, analysts write the SQL for a LookML field "once, in one place" (Looker).

Six reasons one table yields different counts

A correct warehouse still gives different numbers to different queries. Two of the causes are definitions. One is population: one team counts free trials and accounts in a payment grace period, and another counts only paid accounts. The other is date logic: a month-end snapshot, activity in the last 30 days, and the billing date each produce a different count, and time zones shift the edges. Both causes were at work in the subscriber example, and each team was right by its own rule. For that reason, "use the warehouse" does not settle the argument.

The other four causes are mechanical. A spreadsheet exported on Tuesday and a dashboard refreshed this morning read different data. A one-to-many join between accounts and payments can count an account twice. A filter saved inside one dashboard or spreadsheet tab changes the number where nobody else can see it. And an AI tool that writes its own SQL against raw tables picks a definition that may match none of the three teams.

Building the source of truth one metric at a time

  1. List the metrics in the leadership review, and every version of each one in use: dashboards, spreadsheets, slide decks, and AI tools.
  2. Name the system of record for each input. In the example, billing owns payment status, the service platform owns line status, and product events own usage.
  3. Give each definition a distinct name. "Paying subscribers," "active lines," and "30-day active users" can coexist once nobody calls all three "subscribers."
  4. Define each metric once, where queries run. The master copy is the one kept by the existing semantic layer, such as LookML or dbt, wherever that layer already holds a definition.
  5. Write the reconciliation between versions and keep it beside the definition.
  6. Name an owner for each metric, who approves changes and settles disputes.
  7. Point every consumer at the governed definitions, including spreadsheets and AI tools.
  8. Compare the versions on a schedule, and flag the gap when it moves outside its usual range.

Teams that stall usually stop after the warehouse. They declare it the source of truth while definitions keep diverging downstream, or they fix the dashboard and leave spreadsheet copies and AI answers on the old logic. Deleting the other versions fails too, because people keep using them; rename them and reconcile them. A dispute with no owner reopens at every meeting as a contest over whose number is right.

Once the versions reconcile, explaining why the governed number moved is a separate job. AI root cause analysis covers that one.

A month-end routine with the reconciliation on a schedule

Most of those eight steps use tools a team already owns. The governed definition belongs in the existing semantic layer, and BI tools built on it show the approved number to many people at once. A spreadsheet reconciliation suits a one-time dispute. When the disagreement is about the record itself, such as two copies of the same customer, master data management fits better: Wikipedia describes an MDM system that decides which updates are authoritative and sends that "golden record" to the other systems (Wikipedia).

Orion, the analytics platform, can take on step 8, the monthly comparison of versions. Take the finance analytics lead who owns "subscribers." Before her first close with Orion, she explains what each team means by the word, which definition the leadership review uses, and what usually accounts for the gap between versions. Orion records her explanation as Context pages. If a regional spreadsheet later turns out to use a fourth definition, Orion proposes adding it in a Context card, and she or another project editor applies or dismisses the card. If a count moves for a reason the data cannot show, such as the end of a trial promotion, Orion puts the question to her through its Observatory cards and works her answer into the next month's analysis.

The reconciliation by status group is one of the analyses Orion suggests. Once she has checked it, she asks for it every month. Orion builds it as a Workflow, runs the whole thing once as a dry run, and saves it when she approves. After each month end, the Workflow reconciles the three counts by status group and names the groups behind each change. A decision step holds the finding back unless it meets a rule she wrote in plain language: "the gap between active lines and paying subscribers moved by more than 200 accounts." In a quiet month she hears nothing. When the gap jumps, she knows which groups moved before the leadership review begins.

Inside IM Telecom, the consumer brand Flex Mobile saw this pattern: compliance reported a number one way, logistics another, and leadership got slightly different answers to one question, all from the same data. According to the Flex case study, the person who owns that reporting now validates what Orion produces and no longer builds each report from scratch.

What the argument over subscribers hid

Before the next review, decide which definition owns the word "subscribers," and give the other two names of their own. Send the reconciliation table out with the agenda, so the meeting starts from arithmetic that everyone has already checked.

In the example, every team was right, and the argument over whose number to trust hid the finding that mattered: 400 fewer accounts were in a trial at month end. With the names settled and the arithmetic between them written down, the review can spend its time on why trials fell.

Keep reading

View all