If you learn one thing in Power BI, make it this: reports are only as good as the data model underneath. The overwhelming best practice is a star schema — and getting it right makes DAX simpler, reports faster and results correct. Getting it wrong is the root of most Power BI pain.
Why the model matters most
Beginners often import one wide, flat table and wonder why measures misbehave. The Power BI engine is designed for a star schema — align with it and everything gets easier; fight it and you'll battle slow, wrong measures forever.
Facts & dimensions
- Fact table — the events you measure: sales, orders, enrolments. Long and narrow — many rows, mostly numbers (the things you SUM) plus keys.
- Dimension tables — the context you slice by: Date, Product, Customer, Region. Short and wide — the descriptive attributes you filter and group on.
The star schema
A star schema puts the fact table in the centre, with dimension tables around it, each joined by a key — the diagram looks like a star. You filter on dimensions; the filters flow into the fact table where measures are calculated:
[Dim Date] [Dim Product]\ /\ /[ Fact Sales ] ← measures live here (SUM of amount)/ \/ \[Dim Customer] [Dim Region]Slice by any dimension → the filter flows into Fact Sales.
Why not one big table?
A single flat table repeats every product/customer detail on every sales row — wasteful and slow — and makes measures ambiguous. Splitting into a star removes duplication, shrinks the model, speeds it up, and gives clean, reusable slicers. Star beats flat almost every time.
Practice
Take a flat sales export and reshape it into a star: one Sales fact table (amounts + keys) and separate Date, Product and Region dimensions. Add a dedicated Date table. Sketch the star diagram and identify which columns are measures vs slicers.
Key takeaways
- 01The data model is the most important part of Power BI — reports are only as good as it is.
- 02Fact tables hold the events you measure (long, numeric); dimensions hold the context you slice by (short, descriptive).
- 03A star schema puts the fact in the centre with dimensions around it, joined by keys.
- 04Filters on dimensions flow into the fact table where measures compute.
- 05Always add a dedicated Date dimension; avoid one big flat table.
