Semantic layer development: one definition for every metric
Every metric and business entity defined once, in code, so dashboards, spreadsheets and AI answers stop disagreeing.
Two departments bring two revenue figures to the same meeting, and the hour goes on reconciling them. The cause is nearly always the same: the metric is defined in four places — a dashboard, a spreadsheet formula, an export script and someone's memory — and the four have drifted.
A semantic layer fixes that structurally. Metrics, dimensions and business entities are declared once in version-controlled code, with their joins, filters and grain. Every consumer — the BI tool, the finance export, the AI assistant — reads from that one definition. Change the definition and every consumer changes with it, in a reviewed pull request rather than a quiet spreadsheet edit.
It has become the most important piece of AI infrastructure most companies do not have. A language model asked a question against raw tables has to guess your business logic each time; asked against a semantic layer, it only has to choose the right metric. That is the difference between an AI analytics demo and one finance will sign off.
The parts that matter.
- 01
Metric and entity modelling
Business definitions — collections, utilisation, on-time delivery, stock cover, deposit liability — expressed as code with explicit grain, filters and ownership.
- 02
Business ontology
The entities your operation runs on and how they relate: rider to vehicle to hub to city, vendor to order to receipt to invoice. The shared vocabulary for people and AI alike.
- 03
Tool-agnostic delivery
Built in dbt's semantic layer, Cube or plain SQL views depending on your stack, exposed to Power BI, Metabase, spreadsheets and APIs.
- 04
AI-ready context
Synonyms, descriptions and example questions attached to each metric, so a language model can map 'how much cash is stuck at hubs' to the right definition.
- 05
Tests and lineage
Data tests that fail the pipeline when a metric's inputs break their contract, and lineage from every number back to its source tables.
- 06
Governance that fits the team
An owner per metric and changes through review — lightweight enough that a team of ten will actually keep doing it.
What you
actually receive.
Named artefacts, not a status report. Every item here is something you can open, run or hand to another engineer.
- 01Metric catalogue agreed with finance and operations
- 02Semantic model in dbt, Cube or SQL, under version control
- 03Data tests and lineage for every published metric
- 04Connections to your BI tool, spreadsheets and API consumers
- 05AI context: synonyms, descriptions and example questions per metric
- 06Ownership and change process documented
Before you ask.
What is the difference between a semantic layer and a data warehouse?
The warehouse stores the data. The semantic layer defines what it means: which tables join, what counts as revenue, at what grain. You can have a warehouse without a semantic layer — most companies do — and that is exactly why their dashboards disagree.
Semantic layer vs knowledge graph — which do we need?
A semantic layer answers metric questions — how much, how many, how fast. A knowledge graph answers relationship questions — what is connected to what. Most operational businesses need the semantic layer first; a graph earns its keep only when relationship questions dominate.
Our BI tool already has a model. Is that not enough?
It is a semantic layer locked inside one tool. The moment a spreadsheet export, a second BI tool or an AI assistant needs the same metric, the definition gets copied — and drifts. A tool-agnostic layer keeps one definition for every consumer.
How long does it take?
The first ten to fifteen metrics that matter most — usually within a few weeks, because the hard part is agreeing definitions between departments, not writing the code.
Tell us what you are building.
A short conversation is usually enough to tell whether we are the right firm for the problem. If we are not, we will say so and point you somewhere better.