All lessonsHide lessons
Getting the Number Right · Lesson 4
What Is a Semantic Layer in Finance (and Why AI Needs One)?
Why AI gets your metrics wrong even with clean data: the company-specific definitions that turn raw data into numbers your board recognises.
Step 1 of 6: When the AI disagrees with the board deck
When the AI disagrees with the board deck
You ask an AI tool for net revenue retention. It gives you a number. The board deck from last month gives a different one. Both were calculated from the same data.
The data is fine. What is missing is the meaning: your company's specific definition of the metric. That is what a semantic layer holds.
What the video shows
According to Finance Workroom Academy's description, the video:
- Looks at metrics such as active customers, net revenue retention, revenue recognition, headcount cost and pipeline coverage.
- Shows how inclusion rules, allocations and edge cases change a reported number.
- Explains why business logic in a policy document or spreadsheet is not automatically available to an AI model.
- Demonstrates a centrally governed metric definition in Datarails FinanceOS.
- Covers finance's role in owning definitions and applying them consistently across reports and AI queries.
In plain English
- Semantic layer:
- The company-specific definitions, dimensions and time rules that turn raw data into meaningful business metrics.
- Metric definition:
- The exact rule for calculating a number: what is included, what is excluded and over what period.
- Net revenue retention (NRR):
- How much recurring revenue you keep from existing customers over a period, including expansion and losses.
- Allocation:
- Splitting a shared cost, such as rent or software, across departments or entities by an agreed rule.
- Edge case:
- An unusual situation the main rule does not obviously cover, such as a customer who paused then came back.
Clean data is not the same as meaningful data
The video draws a line between two jobs:
- Collecting clean data: complete, de-duplicated, correctly posted transactions.
- Giving that data a shared business meaning: agreeing exactly how it becomes a metric.
You can do the first perfectly and still get the wrong number, because a metric is a set of decisions. Take active customers:
- Does a customer on a free trial count?
- What about one who has paid but not logged in for 90 days?
- Is a company with three subscriptions one customer or three?
- Which date decides the period: sign-up, first invoice or first payment?
Every company answers these differently. Change one answer and the number moves. Headcount cost has the same issue with contractors and allocations. Revenue recognition depends on rules about when revenue is earned, not when cash arrives.
Quick check
Your data is complete and accurate, but AI's 'active customers' figure differs from finance's. What is the most likely cause?
Why the AI does not know your definitions
Your definitions usually live somewhere: a metrics policy, a footnote in the board pack, a formula in someone's spreadsheet, or simply in the head of the person who builds the report. None of that is automatically visible to an AI model. Ask it for NRR and it will use a textbook definition, which is reasonable but not yours.
Worse, different tools will each make their own assumption. If Claude, ChatGPT and your BI dashboard each calculate the metric their own way, you get three versions of the truth.
Define once, use everywhere
The answer the video describes is a governed metric definition: each metric is defined once, centrally, and every report and every AI query uses that definition. The description makes the point that this matters most when finance wants several analytical tools to work from the same approved logic.
Two things make it work:
- Finance owns the definitions. Someone accountable decides what each metric means and signs off on changes.
- Tools read the definitions, they do not reinvent them. The AI asks for "active customers" and gets the governed number, rather than calculating its own.
You can start without any new software. Write a one-page metrics glossary: each key metric, its exact definition, what is included and excluded, and the time rule. Paste it into your AI tool's project instructions so every chat starts from your definitions, and keep one owner for changes.
Checkpoint
A semantic layer holds your company's definitions, dimensions and time rules. Clean data still gives the wrong number under the wrong definition, and AI does not know yours unless you give it to it. Define each metric once, have finance own it, and make every report and AI query use it.
📝 Quiz
Swipe right if this answers the question correctly, left if it does not.
What is a semantic layer in finance?
“A spreadsheet theme”
Is this the right answer?