The Power BI semantic model

Behind every Power BI report there is a semantic model: the tables, their relationships and the measures the report calculates with. Until the end of 2023 Power BI called it a "dataset". If you understand the model, you understand why a report calculates right or wrong.

In short: a semantic model is a report's data model together with its meaning: which tables exist, how they are related, how metrics are calculated and who may see which rows. Microsoft renamed "datasets" to "semantic models" in November 2023; it is the same thing.

What a semantic model consists of

PartWhat forIn the course
Tablesfacts (sales, postings) and dimensions (product, customer, date), usually loaded with Power Querystar schema
Relationshipsconnect tables so that a filter on the region also filters the salesrelationships, cardinality
Date tablecomplete dates for time intelligence such as prior year and year-to-datedate table
MeasuresDAX metrics that calculate in every visual with its filtersmeasures, CALCULATE
Calculated columnsvalues per row, such as a price band or the ship timecalculated columns
Rolesrow-level security: each person sees only their rowspublish and share

Why the model matters more than the visuals

A visual only shows what the model calculates. If a relationship is missing, every row shows the same number. If the cross filter direction is wrong, a slicer filters tables it should not. If the date table is not marked, the prior year comes out blank. That is why most mistakes in Power BI reports sit in the model, not in the chart.

The star schema has proven itself: one fact table in the middle, the dimensions around it, relationships from the dimensions to the facts with single cross filter direction. In this layout measures with CALCULATE behave the way you expect.

One model, many reports

In the Power BI service the semantic model is an item of its own in the workspace. Several reports can connect to the same model. Then every metric exists only once, such as "Total Sales" or "Gross Margin", and all reports calculate the same way. Changing a measure changes it for all reports.

How data gets into the model

  • Import: Power BI loads the data into the model. Reports are fast and up to date as of the last refresh.
  • DirectQuery: every visual queries the source directly. The data is more current, but reports depend on the speed of the source.
  • Direct Lake: in Microsoft Fabric the model reads data straight from OneLake without importing it first.

Build a semantic model yourself

In the Power BI course you build a model level by level: load and clean data with Power Query, create relationships, mark the date table, write measures and finally a role for confidential data. The models from the course and the intensive courses are available as Excel files on the projects page, so you can rebuild them in Power BI Desktop.

Frequently asked questions

Is a semantic model the same as a dataset?

Yes. Microsoft changed the name in November 2023 because "dataset" was too generic. Older guides still say dataset.

Is the semantic model the same as Power Pivot in Excel?

The same idea: tables, relationships and DAX measures. A Power Pivot model from Excel can be imported into Power BI Desktop.

How large can a model be?

That depends on the license and capacity and changes over time. Microsoft lists the current limits in the Power BI documentation.

Write to us

Choose language

Select your preferred language