The semantic layer, explained for operators
You have heard the term in a vendor demo or a consultant’s proposal. Here is what it is, why business intelligence projects stall there, and what a version you could actually read would look like.
What it is
A semantic layer is the list of definitions that sits between raw data and the numbers people see. It says that “revenue” means the sum of the invoice-total column in the invoices table where status is paid and type is not credit memo, that “customer” means a distinct billing entity with at least one such invoice, and that “margin” is revenue less the sum of three cost columns. Every chart, report and query in the BI tool is supposed to use those definitions instead of inventing its own.
That is a good idea. It is the same idea as writing the company’s rules down. The problem is where it lives and who can touch it.
Where it lives, and who can touch it
In Power BI the semantic layer is the semantic model, written in a language called DAX. In Looker it is LookML. In a warehouse stack it is a set of dbt models or a metrics layer. In every case it is code, it is owned by whoever built it, and the people who actually know what revenue means (the controller, the owner, the ops lead) cannot read it, cannot edit it, and usually do not know it exists. When they say “hardware moved to net 90,” that sentence has to travel to someone technical, be translated into a change in the code, be tested, and be deployed. Until it is, the number is wrong, and nobody who looks at the dashboard can tell.
This is why BI projects stall. Not at the connection, not at the dashboards, but at the moment the business needs to change a definition and discovers it cannot. The consultant has moved on. The analyst who built the model has left. The semantic layer becomes a thing nobody dares touch, and the company goes back to spreadsheets, where at least they can see the formula.
What a readable version looks like
The same definitions, written as sentences, by the people who know, with a name and a date on each. “Revenue is counted at invoice date, from QuickBooks. Stripe is cash and HubSpot is pipeline; neither is revenue. Dana R., September 16.” Anyone in the company can read that. The controller can change it when the facts change. A new hire can find out in thirty seconds why the dashboard says what it says.
The rules library is forty of these, with the common variants and an example sentence for each. Written down in a shared document, they do most of what a semantic layer promises. Applied automatically to every report, they do all of it.
Why the readable version is not weaker
The objection from the technical side is that a sentence is ambiguous and code is not. That is true of a sentence nobody acts on. It is not true of a sentence that a system applies the same way every time, shows under every answer, and flags when it conflicts with another. The precision that matters is not the syntax. It is that one definition is in force, everyone can see which one, and changing it is a decision someone with authority makes rather than a ticket someone technical closes.
The readable version also catches something the code version cannot: the definitions nobody thought to write. A semantic model only encodes what the builder knew to ask about. The re-import, the holiday closure, the customer who always pays late are discovered by looking at where the systems disagree and asking. A model written up front never learns them.
If you already have a semantic layer
Keep it. It is the technical team’s definition of the data and it serves their tools. Put the plain-language rules in front of it for everyone else, and point the two at each other: the rule says what the company decided, the model implements it, and when they drift apart someone can see both. In Mercury11 the warehouse connects as a source and the rules live where the whole company can read them. A semantic layer your operators can read.
Semantic layers and AI answers
The semantic layer has become the place AI assistants read definitions from. Snowflake, Databricks and dbt Labs now position their layers as the way to keep AI answers consistent, and that is the right instinct: an AI that answers from agreed definitions gives the same number to everyone who asks. The question for an operator is who writes those definitions, and whether the people who own the numbers can read them. Governing the definitions AI answers from covers the business side; Mercury11 vs a semantic layer compares the two ways to build it, and governed AI analytics without a data team sets out what to require.
Questions people ask
Do I need a semantic layer at all?
You need agreed definitions. Whether they are stored as DAX, LookML, dbt models or plain-language rules is a question of who has to be able to read and change them. For a company with a data team, code is fine. For a company where the controller owns the definitions, it has to be something the controller can edit.
Isn't plain language too vague for a metric definition?
Not when a system applies it consistently and shows it under every answer. 'Revenue is counted at invoice date, from QuickBooks' is as precise as a DAX measure for every purpose except writing the DAX. What it adds is that the person who decided it can read it back.
Who should own the definitions?
The person who would be asked to defend the number: usually the controller or finance lead for financial metrics, the marketing lead for acquisition metrics, with one person, often the CFO or owner, holding the final word when two conflict.
Let Mercury11 find which of these your systems are arguing about.
Connect two systems and it shows you where they disagree, by how much, and which rule would settle it. You answer once; everyone gets the same number from then on.