The $11.5 Billion Question: Why Your Dashboards Disagree

What a fictional investment firm taught the Chicago Snowflake User Group about semantic modeling
Picture Monday morning at Takala Investments, a company I made up, with a problem you have almost certainly met. The leadership team sits down with two dashboards. Both are labeled “Revenue.” One says $230.0 billion. The other says $218.5 billion. An $11.5 billion gap sits in the middle of the table, and everyone is looking at the data team.
In a room full of data people, the instinct is to hunt for the mistake: a bad join, a forgotten filter, a fat-fingered formula. I want to interrupt that instinct, because it is almost always wrong. Both analysts were competent. Both queries were valid SQL. Nobody made an error. So where did the $11.5 billion go?
The answer is in the SQL, and it isn’t a bug
I asked the same question against two semantic views in Snowflake and let Cortex Analyst write the query for each. Against the first, NAIVE_SV, it produced SUM(lineitem.extended_price) AS total_revenue. No metric called “revenue” existed, so the agent invented one: a guess dressed up as an answer. Against the second, CURATED_SV, it wrote simply METRICS revenue. One word, a reference to something already named and already defined.
Same agent, same engine, same warehouse. The only variable was whether a human had already done the modeling work.
The gap itself is almost comically mundane. The governed definition is SUM(extended_price * (1 – discount)). The invented one forgot the discounts. The $11.5 billion is the difference between gross and net, and both were called “revenue.” Read the YAML behind each view and the whole story fits in a single block. NAIVE_SV’s metrics section is empty. CURATED_SV defines revenue with an exact expression, a plain-English description, and synonyms like “sales” and “earnings” so that every one of those words resolves to the same governed number. Eleven lines, written once.
Correctly cooked is not the same as named
The mental model I use for this is a trip from the grocery store to the customer’s table. Bronze is the grocery store: raw ingredients, some duplicates, some mislabeled items, nothing wrong exactly, just not yet worked on. Silver is the prep station, where things are washed, chopped, and standardized. Gold is the kitchen, where the dish is finished.
This is where most pipelines stop, because a finished dish looks finished. But nobody has said what to call it. That gap, a correctly cooked dish with no name on it, is precisely what split Takala’s dashboards. What is missing is the recipe card: the governed YAML, versioned in Git, written once and read everywhere. It becomes the live menu, the semantic view, and the customers, meaning your BI tools and now Cortex Analyst, order by name. They never re-derive the recipe, and they were never supposed to.
The blueprint and the house
Here is a distinction that trips up even experienced Snowflake practitioners. The YAML and the semantic view are not a source and its compiled output. They are two representations of the same semantic layer, and Snowflake lets you move between them in both directions. You can write the YAML blueprint and deploy it as a live, governed object with SYSTEM$CREATE_SEMANTIC_VIEW_FROM_YAML, or build the view directly and read the YAML back out with SYSTEM$READ_YAML_FROM_SEMANTIC_VIEW for Git, code review, and CI/CD.
The blueprint is plain text, versioned, and reviewable. The house is a living database object with RBAC, sharing, and lineage, directly queryable through SEMANTIC_VIEW(…). In either direction, the curation is the modeling work: the descriptions, the synonyms, the named metrics.
Four habits, spent once
Curating a model well comes down to four disciplines. Keep metrics atomic: one name, one formula, defined centrally, never re-derived per dashboard or per agent. Name things the way a business user would type them, abstracting a column like amt_00_pre_disc into language people actually use. Enforce governance in the object itself through RBAC, rather than trusting every downstream tool to behave. And use materialization through max_staleness, so that governed does not have to mean slow.
The cost is real domain knowledge, spent one time. The payoff is a single definition that overrides everything downstream.
The constraints nobody puts in the pitch
Every vendor talk skips this part, so let me include it. At the time of my talk, the YAML spec was capped at 1MB, and once sample values and verified queries are stripped out, what remains has to fit within roughly 32,000 tokens. Snowflake recommends staying under 50 to 100 columns for reliable Cortex Analyst behavior. Semantic views are warehouse-bounded, which means Snowflake data only for now: no dbt models, no Looker metrics, no Salesforce or Jira context yet. And validation timing differs. A semantic view fails loudly at creation time on a bad reference, while a legacy YAML-only model can fail quietly at query time, in front of a business user. These limits evolve, so check the current Snowflake documentation before you design around them.
AI drafts it, a human certifies it
I used AI assistance to build this demo, and I think it is worth being plain about that. Snowflake’s Semantic View Autopilot can read query history, BI tool definitions, and data patterns to propose metrics, synonyms, and relationships. That is genuinely useful. But a draft is not a governed definition. The loop is propose, test, certify: run real business questions against the draft, fix the description or add a verified query when an answer is wrong, and then have a person with business context approve it. That final step is what turns an AI’s best guess into something the rest of the organization can trust.
Then we ran it live
Talking about this is one thing, so we ran it live. A Streamlit app sent one plain-English question, “What is our total revenue?”, to two agents at the same instant, and the room watched the pattern play out in three layers: the symptom (two answers), the mechanism (an invented expression versus a referenced metric), and the cause (an empty metrics block versus a defined one).
Then we ran the same discipline in a domain that had nothing to do with revenue. On a live clone of the curated view, deployed under its own name so the production object stayed untouched, we added one more governed metric through a pre-tested YAML blueprint and a single call. The modeling discipline that ended the revenue argument worked on a brand-new question in a brand-new domain.
That is the whole idea: one governed object, and every question it has ever been asked, answered well. If you are sitting on legacy YAML-only models, or you suspect your own dashboards have a quiet “revenue” problem, I would love to hear what your version of that gap looks like.