Open course · Power BI

One flat table,one star schema.

Split a wide export into a fact table and its dimensions in Power Query, add a date table, and relate them so every slicer filters the way you expect. Read a lesson, then build it in your own workspace. This browser keeps the lessons you mark as done.

Before you start

What you need, what you build.

You need0 of 2 ready
You build

A Sales fact table, Customer and Product dimensions made by reference from the same source, a marked date table from DAX, and one-to-many relationships that filter one way.

3 lessons · about 9 min to read, longer to build
Lesson 1 of 3 · 3 min

Facts and dimensions

Read the flat table and sort its columns into what happened (facts) and who, what and when (dimensions).

Video coming soonFacts and dimensionsUntil then, the lesson below walks through every step.
Next lessonDimensions by reference
Lesson 2 of 3 · 3 min

Dimensions by reference

Build each dimension as a reference of the source with distinct rows and a key, then slim the fact table to keys and numbers.

Video coming soonDimensions by referenceUntil then, the lesson below walks through every step.
Lesson 3 of 3 · 3 min

A date table and relationships

A DAX date table marked as one, relationships from each dimension to the fact table, and a test that every slicer works.

Video coming soonA date table and relationshipsUntil then, the lesson below walks through every step.
Take it further

The next course is on the way.

Semantic models people trust goes further than this one: 5 lessons, free and open like this one. Tell Behnia if you want it first.