Day 1 — What Power BI actually is
Three tools in one application. Knowing which one you are in explains most of the confusion.
Power BI is three tools wearing one coat
Almost everyone who struggles with Power BI is struggling because they do not know which of the three parts they are in. They are genuinely separate, they run at different times, and they use different languages.
| Part | What it does | Language |
|---|---|---|
| Power Query | Gets the data in and cleans it — once, before anything else | M |
| The data model | Holds the tables and the relationships between them | — |
| Report and measures | Calculates numbers and draws the visuals | DAX |
What this tutorial can run, and what it cannot
Power BI is a desktop application, so a web page cannot pretend to be one. But DAX is a language, and a language can be implemented — so that is what this tutorial does. The DAX engine here is written from scratch and evaluates real measures against a real model, including filter context and relationships.
That matters because DAX is the part people actually get stuck on. Dragging fields onto a canvas takes an afternoon to learn. Understanding why a measure gives a different answer in a total row takes considerably longer, and it is what interviews ask about.
The model you will be working with
One fact table and three dimensions — a star schema. This is the shape almost every well-built Power BI model takes, and Day 4 explains why.
The Sales table holds 48 orders across 2024 and 2025. Above are the first eight rows. Notice what is not there: no region name, no product name, no category. Only IDs.
The names live in the dimension tables. Joining them back together is what the relationships do, automatically, without a single VLOOKUP.
Your first measure
A measure is a calculation with a name. Write it once, use it in every visual.
Edit that and press Run. Try SUM(Sales[Qty]), or COUNTROWS(Sales).
The same measure, broken down
Here is where Power BI becomes different from Excel. You wrote one measure. Drop it into a visual with Region on the rows, and it recalculates itself for every row:
You did not write four formulas. You wrote one, and the visual supplied a different filter context to each row. That idea is the whole of Power BI, and Day 7 takes it apart properly.
Try these yourself
- Write a measure that totals the Cost column.
- Count how many rows are in the Product table.
- Break Total Sales down by Product[Category] instead of Region.
- Explain in one sentence why the Sales table stores RegionID rather than the region name.
- Name which of the three parts of Power BI you would use to remove an unwanted column.
