What is a Power BI semantic model?
A semantic model, formerly called a dataset, is the layer that sits between your sources and your reports. It organizes the data into tables, relates them and holds the company’s calculation rules. It thus becomes the single source of truth: every page gives the same number.
A Power BI report has two levels. On top, the pages and charts: what you see. Underneath, the model, which holds three things:
- tables, loaded from the accounting system, the CRM or Excel files, and prepared by Power Query;
- relationships, which say how a filter on customers reaches the invoices;
- measures, formulas written in DAX that calculate revenue, margin or variance to budget.
In a well-organized model, tables come in two kinds. The fact table records the events to be added up, for example invoice lines. The dimension tables describe those events: customers, products, dates. As a rule, each relationship is one-to-many: a customer appears once in the customer table, but on many rows of the fact table.
The word “semantic” means the model carries the business meaning: what “revenue” means at your company, excluding VAT, net of credit memos, at the invoice date. The software itself is introduced in What is Power BI and what is it used for.
The diagram shows where the accuracy of the numbers is decided.
A definition corrected in the model is therefore corrected in every report at once; a definition copied into each report eventually drifts.
Data model, semantic model, dataset: three names for one object
These three terms refer to the same object at different stages; the report is a separate object that queries the model. Microsoft renamed “datasets” to “semantic models” in November 2023, and states that it is a rename only, with no effect on existing reports.
| Term | What it refers to | Where you see it |
|---|---|---|
| Data model | The tables, relationships and measures, while they are being built | Power BI Desktop, Model view |
| Semantic model | The same model, once published and shared | Power BI service, Microsoft Fabric, Copilot |
| Dataset | The former name of the semantic model, until November 2023 | Older tutorials, the Power BI REST API |
| Report (a different object) | The pages and visuals that query a model | Power BI Desktop and service |
A single semantic model can feed several reports, a PivotTable in Excel and Copilot: it is then called a shared model.
Import, DirectQuery, Direct Lake: where the data lives
Each table in the model has a storage mode, which says whether its data is copied into the model or read directly from the source. For an SME, Import mode is almost always right; the others are for data volumes or freshness needs that few SMEs have.
| Storage mode | How it works | When to choose it |
|---|---|---|
| Import | The data is copied and compressed in memory, then refreshed at set times | The general case: fast, every feature available |
| DirectQuery | Each visual queries the source live, with no copy | Very large volumes, or data that must be up to the minute |
| Direct Lake | The engine reads Delta tables stored in OneLake, Microsoft Fabric’s data lake | Companies already on Fabric, large volumes |
| Dual | The table behaves as Import or DirectQuery depending on the query | Dimension tables (dates, customers) in a model that mixes modes |
A model whose tables use several modes is called a composite model: for example, imported history alongside an orders table in DirectQuery.
On a Pro license (the standard per-user subscription), a model is limited to 1 GB and 8 scheduled refreshes a day; a Premium or Fabric capacity (dedicated compute the company rents) allows up to 48 a day in the model settings. Storage mode changes speed and freshness, not the calculation logic: a badly built model gives the same wrong number whatever the mode.
When a model outgrows these limits, preparation moves upstream: an ETL tool (which extracts, transforms and loads the data) feeds a data warehouse every night, and the model reads from it.
How can a polished report show the wrong number?
Most often, a table mixes two levels of detail, one row per order and one amount per invoice: the sum then double-counts every invoice that covers two orders, with no error message at all.
This level of detail is called the grain: what one row of the table represents.
Take a fictional distribution SME: at the management meeting, the report shows €1,312,400 in revenue through the end of September, while the general ledger shows €1,248,900. In the model, someone merged the invoice export with the order export into a single “Sales” table, to analyze sales by sales rep and by product. Invoice F-2611, for €12,400 excluding VAT, the largest of the batch, covers two orders:
| Order | Order amount | Amount copied from invoice F-2611 |
|---|---|---|
| C-501 | €7,000 | €12,400 |
| C-502 | €5,400 | €12,400 |
| Sum in the report | €12,400 | €24,800 |
The report adds up the last column. Over nine months, 62 invoices cover two orders; their amounts, €63,500 in total, are counted twice:
Variance = report − general ledger
= 1,312,400 − 1,248,900
= €63,500
Relative variance = 63,500 ÷ 1,248,900
= 5.1%The diagram shows where the duplicate comes from.
Nothing was entered incorrectly: the shape of the table multiplies the amount. A 5% gap is the most dangerous kind, because it is plausible: small enough to get through a management meeting, large enough to skew a bonus or a budget.
The fix belongs in the model, not in the chart. You go down to the finest grain, the invoice line: one row per invoiced order, carrying its own amount, €7,000 for C-501 and €5,400 for C-502.
The sales rep and the product connect to it through shared dimension tables. That is the principle of the star schema, explained step by step in our dedicated article.
How do you recognize a shaky data model?
You can spot a shaky model in meetings, without opening Power BI Desktop: two numbers for the same KPI, a total that does not tie to the accounts, totals that change with the filter. Two or three of the following eight signs warrant a check.
| What you see | What is happening in the model | The risk |
|---|---|---|
| Two numbers for the same KPI | Revenue is calculated in several measures or files, each with its own rule | The meeting is about the number, not the decision |
| The total does not tie to the accounts | Rows counted twice after merging tables, or a poorly defined relationship | Bonuses, budgets or prices based on a wrong number |
| Totals change with the filter | Filters do not flow between tables as intended | Everyone finds “their” number depending on the page they look at |
| “Don’t touch that report” | The model has grown in layers, with no documentation | Every new request becomes risky and expensive |
| Only one person knows how to change it | The rules live in their head, or in formulas only they understand | The day they leave, reporting stops |
| The report takes several seconds to respond | A table that is too wide, unused columns, calculations done in the wrong place | People stop opening the report; Excel comes back |
| Year-over-year comparisons are wrong | No proper calendar table, or badly related dates | Growth or decline that does not exist |
| Field names are codes | “MNT_NET”, “CA2”, “Measure 3”: the model speaks the source’s language | Nobody knows which field to use; nor does Copilot |
For each sign, the technical cause and its fix are in the symptom, cause, fix table of the star schema article.
What does a shaky model cost?
A shaky model costs you in three ways: in hours of reconciliation every month, in decisions based on a wrong number, and in changes that get slower and slower. The second cost is the highest, and the least visible.
Nobody can put a figure on it for you, but the calculation fits in a few lines. In the example SME, the sales bonus is 2% of revenue: on €63,500 counted twice, it pays out €1,270 too much.
If the FP&A analyst (contrôleur de gestion in France) spends a day and a half a month explaining the gap, that is 18 days a year.
The other costs are harder to measure:
- Lost trust. After two gaps come to light in management meetings, executives may go back to their Excel files. The report is still paid for, but no longer read.
- More expensive changes. Adding a KPI to a disorganized model takes longer and sometimes breaks something else; each request costs a little more than the last.
- Dependence on one person. If only one person understands the model, their absence stops reporting.
- Unusable AI. With a confused model, Copilot gives confused answers.
Start by counting the reconciliation hours with your teams: that number alone is often enough to decide whether the model needs checking.
What does a good data model look like? Five rules
A good model is not a complicated model: it is one where every number has a single origin and a single definition, reused by every page and by Copilot. Five rules are enough, and you can demand them from your team or your provider.
- A written grain for each table. Everyone knows what a row represents: an invoice line, a budget month. Ralph Kimball, who pioneered modeling with fact and dimension tables, calls declaring the grain “the pivotal step in a dimensional design.” It is the step that would have prevented the duplicate on invoice F-2611.
- One KPI, one measure, one definition. Revenue is calculated once, with its written rule, and every page uses it.
- Shared dimensions. A single table each for customers, products and dates filters all the data: the same filter gives the same result everywhere.
- Business names. “Revenue (excl. VAT),” not “MNT_NET”. Technical fields are hidden from readers.
- Short documentation. Sources, rules and points to watch, so someone else can take over. It is the first step toward data governance.
Without the second rule, the SME sees three revenue figures for the same period.
Only the Finance page figure is right: the Leadership page includes VAT (1,248,900 × 1.2), the Sales page counts the duplicates. Once the measure is written, its definition travels with it:
Revenue (excl. VAT) =
SUM (
'Invoice Lines'[Amount excl. VAT]
)
Description: invoices issued,
net of credit memos, excluding VAT,
at the invoice date.
Markup % =
DIVIDE (
[Gross Profit],
[Purchase Cost]
)Markup follows the same logic: you divide one total by another rather than averaging each row’s rate. Microsoft recommends this for ratios, and the KPI guide shows the gap in figures.
Microsoft writes that star schema design and its related concepts are “highly relevant to developing Power BI models that are optimized for performance and usability.” Facts and dimensions, splitting a flat table, a date table, star or snowflake: the technique is in The star schema in Power BI.
Why does Copilot need a good semantic model?
Copilot does not read your files: it queries the semantic model, its tables, relationships, measures and their names, then answers with what it finds there, right or wrong. A confused model gives confused answers, and no instruction given to the AI makes up for a wrong model.
Copilot in Power BI lets you ask a question in plain English and get an answer or a visual, for example: “What is revenue for the quarter by region?”
Microsoft is explicit: “Resolve modeling issues in the semantic model because additional instructions can’t correct inaccurate relationships or inappropriate aggregations.”
Copilot relies first on names and descriptions. Microsoft states that, to write its DAX queries, it reads only the first 200 characters of a description: the definition should start with the business meaning, the unit and the exclusions.
The same field, as Copilot sees it before and after, shows why.
A Copilot-ready model has:
- correct relationships and a star schema;
- table, column and measure names in business language;
- measures with descriptions, so that two similar questions give the same number;
- defined permissions, because Copilot sees what the user sees, no more and no less (security and sharing);
- a list of real questions from management, whose answers you already know, to test it before rolling it out to everyone.
On licensing, Copilot requires a paid capacity, Fabric F2 or higher, or Premium P1 or higher: a Pro license alone is not enough. The model, however, can be prepared today and serves your reports even if you never turn Copilot on. The full prerequisites are on the Copilot in Power BI page.
How to check your data model: a 10-point audit
A model is checked on ten points, from table grain to documentation, and the best return comes from reconciling three totals with the accounts. The table also works as an internal checklist.
| Point | What is checked |
|---|---|
| 1. The grain of each table | What a row represents (an invoice line, an order, a month) is known and written down |
| 2. The relationships | Simple, with filters flowing from dimension tables to the fact table, with no unnecessary many-to-many relationships and never two possible paths between the same two tables |
| 3. The reconciliation | Two or three totals from the model are compared with a reference: accounting, billing, payroll |
| 4. The measures | Each key KPI is a single measure, named in business language, with a definition |
| 5. The calendar table | A dedicated date table serves every comparison over time |
| 6. Power Query | The preparation steps are readable, with no file copies or hidden manual steps |
| 7. Performance | Slow visuals are measured with Performance Analyzer; the cause (model, DAX or Power Query) is found before optimizing |
| 8. Housekeeping | Unused columns, duplicates and technical fields are removed or hidden from readers |
| 9. Security | Who sees what is defined; row-level security is in place wherever a reader should see only their own scope |
| 10. Documentation | Sources, calculation rules and points to watch are written down |
These ten points make up the model part of the Power BI and Excel audit.
Reconciliation, the test with the best return
Point 3 takes little time, because it does not require opening every measure: you compare three totals from the model with the accounts, and together they point to the cause. In the SME, the €63,500 gap comes with another clue.
The model and the accounts count the same 1,812 invoices: none was invented. Counting rows would prove nothing, because a table at invoice-line grain normally has more rows than invoices. The deciding check compares, invoice by invoice, the model’s sum with the amount in the books: 62 invoices are worth double, and together they account for exactly the €63,500 gap. They are the ones that cover two orders. Had no invoice been off, you would have had to look elsewhere: a date filter, a VAT rule (included or excluded), a more up-to-date source.
The audit ends with a prioritized list: what skews the numbers first, then what slows things down, what prevents a handover, and what can wait. Sometimes fixing three measures is enough; sometimes the model has to be rebuilt. An audit should say so plainly.
When is the model not the problem?
A wrong number does not always come from the model: the source can be wrong, the business rule undecided, or the need too simple for a model. Better to know before paying for an audit.
- The source is wrong. If sales are entered incorrectly in the software, even the best model will reproduce the error. Fix data entry first.
- The rules have not been decided. If management has not decided whether revenue means invoices or orders, the issue is a decision, not a model.
- One table, one reader. A small report on a single file needs no architecture; a well-kept spreadsheet may be enough. Our Power BI vs Excel comparison helps you decide.
- The report is right but not read. The problem is then the design of the pages and how they are used in meetings: see the Power BI dashboard guide.
When a number is disputed, three questions are enough to know where to look.
In the SME, the source and the rule were right: only the model remained at fault.
To choose who will build or take over your model, the Power BI consultant page compares freelancers, consultancies and IT services firms.
For the example SME, what comes next is simple: a reconciliation of the three totals, the grain brought down to the invoice line, a revenue measure written once. At the next management meeting, the report and the general ledger both show €1,248,900, and the meeting finally talks about sales.
Frequently asked questions
Why don’t my Power BI numbers match the accounts?
Most often, a table mixes two grains and counts some rows twice, like invoice F-2611 in the example. Other causes are possible: a different date filter or VAT rule (included or excluded), or one source more recent than the other. Compare the total with the accounts, then the number of distinct invoice numbers, then the sum invoice by invoice: the reconciliation method points to the cause.
What language does Power BI use?
Power BI uses two languages. M, in Power Query, prepares and cleans the data at load time. DAX calculates the measures in the model: totals, ratios, year-to-date figures, comparisons with the previous year. An executive does not need to read either; they only need to insist that every KPI has a written definition in plain language.
What is the difference between Power Query and Power BI?
Power Query is the preparation step inside Power BI: it connects to the sources, cleans and shapes the tables before they are loaded. The model starts where Power Query stops: relationships and DAX measures. What is fixed row by row belongs in Power Query; what is calculated according to the report’s filters is written as a measure. How the tool works is covered on the Power Query page.
What are the drawbacks of Power BI?
Four drawbacks come up often: report building on Windows only, a license per reader, limits on Pro, and no warning about duplicates. Every reader needs a Pro license until the company has a Fabric F64 capacity. On a Pro license, a model is limited to 1 GB and 8 scheduled refreshes a day. Finally, Power BI shows no error message when a model counts rows twice: the most underestimated drawback. The full comparison is in the drawbacks of Power BI versus Excel.
Do you always need a star schema?
It is the starting point Microsoft recommends for Power BI, because it makes filters predictable and measures simple. A small report on a single table can do without it. The exceptions are covered in our article on the star schema.
