When a Power BI model is slow, confusing, or hard to extend, the cause is very often the same. Everything is in one wide table: orders, customers, products, dates, and a few columns that were added in a hurry. It works for the first report. It stops working for the second.
What a star schema is
A star schema separates the model into fact tables and dimension tables. A fact table holds events or measurements: an order line, a shipment, a time entry, a machine reading. A dimension table describes the things you slice by: customer, product, date, site. The fact table connects to each dimension through a key, and the picture looks like a star.
Power BI’s engine is designed around this shape. Filters flow from the dimension to the fact, measures aggregate the fact, and a slicer on a dimension does exactly what a user expects.
What goes wrong without it
- Measures give different answers depending on which column you slice by, because the table contains repeated values and unclear grain.
- Models grow large because text columns are stored on every row instead of once in a dimension.
- Relationships become ambiguous, and authors reach for bidirectional filters to make a visual work.
- Every new report writes its own workaround, so definitions drift.
How to build one
Start by naming the grain of the fact table in a sentence: “one row per order line,” “one row per machine per minute.” If you cannot say it, the table is not ready. Every column in the fact table should be true at that grain, a key to a dimension, or a numeric value you will aggregate.
Then make the dimensions. Give each a single key and the descriptive attributes the business uses to slice. Keep a proper date table, marked as the model’s date table, and relate it to every date that matters. Where a fact has several dates, such as order date and ship date, relate the main one actively and use the others through measures that call USERELATIONSHIP, or role-play copies of the date table.
Keep relationships simple. One-to-many from dimension to fact, single direction, is the default. If you need something more elaborate, treat that as a signal to revisit the design before reaching for a workaround.
Do the shaping upstream
Resist doing this inside Power Query in each report. The cleanest place to shape facts and dimensions is the lakehouse or warehouse beneath the model, so every model built on that data inherits the same structure. In Fabric, the gold layer of a medallion design is a natural home for star-shaped tables.
Handling the awkward cases
Real data is not tidy. A few cases come up often. Many-to-many relationships, such as customers and accounts, are best handled with a bridge table and a clear rule about which side filters which. Slowly changing attributes, such as a customer’s region over time, need a decision about whether reports show history as it was or as it is now. Ragged hierarchies and free-text categories are better cleaned at the source than patched in DAX.
Do not be afraid to have more than one fact table. A sales model and an inventory model often share dimensions such as product and date, which is called a conformed dimension, and that sharing is what lets a leader compare the two without a spreadsheet in between.
Why this is a business point, too
A star schema forces the questions a model has to answer anyway. What is one row? What is a customer? Which date counts as the sale? Asking those at the start is cheaper than discovering at the operating review that two reports disagree.
A quick test of your own model
Open the model view and look at the diagram. If you can see a clear center with tables fanning out, you are close. If the picture looks like a plate of spaghetti, with many fact-like tables joined to each other, start by sorting the tables into facts and dimensions on paper. Then ask of every relationship whether it is one-to-many in the direction you expect. That ten-minute exercise often reveals the two or three changes that will matter most.
If you inherit a wide-table model, you do not have to rebuild it all at once. Pick the most-used report, split out one dimension, point the measures at the new structure, and check the numbers against the old version. Repeat. The model improves report by report, and nobody has to freeze anything.