Home › How we work › Data essentials › Model
Topic 10 · Layer 4 of 6
Model
Clean data arranged the way the business thinks: sales, customers, products, days.
Where this layer sits.
In plain words
What happens here
Think of a city's water. The pipes laid to each neighbourhood. Same clean water, but shaped for the people it serves.
Here the data becomes tables that answer business questions: a table of sales, and tables describing the date, the product, the store and the customer. Calculations such as net revenue are done once, here, and every report reuses them.
The grain, one row per what, decides which questions are possible. Ask it first.
Technical names you may hear for this layer: gold.
What matters most
Three things
1The grain
One row per what? Per order line, per order, per day? This single choice decides which questions can be answered without a rebuild.
2Shared definitions
What exactly is a customer, an active user, revenue? Net or gross, with or without returns? Each needs one answer.
3Reconciliation
The totals must match a number the business already trusts, such as the finance report, within a tolerance everyone agreed.
Where it goes wrong
How this layer fails
| What goes wrong | What it looks like | Early warning sign | What it costs |
|---|---|---|---|
| The grain is wrong for the question | A report needs detail the table does not have. | Nobody asked 'one row per what?' in a requirements meeting. | A rebuild of the model and every report on top. |
| Two definitions of one word | Sales and finance each show 'revenue', and they differ. | Two people give different answers to 'what is revenue?' | Meetings spent arguing about whose number is right. |
| The totals do not tie out | The new report differs from the finance report and nobody can say why. | Reconciliation was planned for the last week. | The business refuses to switch, and the project stalls. |
Causes from the failure list
- 15. No reconciliation to a trusted figure: It ran. It was wrong. Nobody had checked.
- 17. Wrong grain for the question: The table cannot answer the question that was asked.
Dependencies
What and who you depend on
- Business owners of each metric.
- Finance, for the figures to reconcile against.
- A stable Clean layer.
- The BA's requirements, written as questions the data must answer.
In the room
Four questions to ask
- One row per what?
- Who owns the definition of each number?
- Which existing report must this match, and who signs off the match?
- Which questions will you ask next year that you don't ask today?
The reusable backlog
Backlog for this layer
20 items, at the level a BA, Tech Anchor or PM can say done about. Copy the ones that apply; the full list, with filters and a download, is the corpus backlog.
| ID | Item | Owner | Done when (acceptance criteria) | Prevents causes |
|---|---|---|---|---|
| MDL-01 | Business questions turned into grain statements | BA |
| 12 17 |
| MDL-02 | Model design reviewed with a business owner | Tech Anchor + BA |
| 11 17 |
| MDL-03 | Metric definitions drafted: name, formula, owner | BA |
| 8 11 |
| MDL-04 | Reconciliation plan with finance | BA |
| 15 |
| MDL-05 | Thin slice built: one source to one number | Tech Anchor |
| 19 21 22 |
| MDL-06 | Thin slice reconciled and signed | BA |
| 15 16 |
| MDL-07 | Date, currency, time zone and calendar rules | BA |
| 3 11 |
| MDL-08 | Owners of dimensions and hierarchies | BA |
| 8 11 |
| MDL-09 | Model change process | Tech Anchor |
| 11 13 |
| MDL-10 | Performance checked at real volume | Tech Anchor |
| 5 26 |
| MDL-11 | Fact type chosen per business process | Tech Anchor + BA |
| 17 |
| MDL-12 | Conformed dimensions across facts | Tech Anchor + BA |
| 11 17 |
| MDL-13 | Surrogate keys and unknown members | Tech Anchor |
| 3 17 |
| MDL-14 | Date and time dimension | Tech Anchor + BA |
| 11 17 |
| MDL-15 | Many-to-many relationships and bridges | Tech Anchor |
| 15 17 |
| MDL-16 | Additive, semi-additive and non-additive measures | BA + Tech Anchor |
| 15 17 |
| MDL-17 | Business-friendly names and descriptions | BA |
| 1 11 |
| MDL-18 | Late-arriving dimension handling | Tech Anchor |
| 2 15 |
| MDL-19 | Aggregates and performance tables | Tech Anchor |
| 5 26 |
| MDL-20 | Clean-to-model build rules: incremental or rebuild, safe to rerun | Tech Anchor |
| 15 25 |
Go deeper
Existing material
For your engineer (optional):