01Chapter 1: The building blocks of a Power BI modelA Power BI report is only as dependable as the model underneath it. Before you can design a star schema, you need a clear picture of what the model is made of and how the pieces interact. This chapter covers tables, columns, relationships, and measures, and shows how a click in a visual becomes a ca6 min read
02Chapter 2: Deciding the grain before anything elseThis chapter assumes you can load data into Power BI Desktop, open the Model view, and read simple SQL and DAX. You should also know what primary and foreign keys are. The chapter covers what grain is, how to state it, and which problems appear when it is wrong or mixed.7 min read
03Chapter 3: Fact tables: events and numeric measurementsThis chapter assumes you can load data into Power BI Desktop, read the Model view, and write simple DAX. You should also know what primary and foreign keys are. The previous chapter fixed the grain of the model. This chapter builds the fact table at that grain.6 min read
04Chapter 4: Dimension tables: the context you slice byThis chapter assumes you can load data into Power BI Desktop, open the Model view, and read a simple DAX expression. It also assumes you know what a primary key and a foreign key are. It builds on the previous chapters, where you chose a grain and designed a fact table. Here you design the tables th6 min read
05Chapter 5: Keys that connect facts to dimensionsThis chapter assumes you can load data in Power BI Desktop, open the Model view, and read simple Power Query and DAX. It also assumes you know what a table, a row, and a column are. Earlier chapters defined fact tables, dimension tables, and grain. Here the focus is the columns that tie them togethe6 min read
06Chapter 6: Putting it together: the star schemaThis chapter assumes you know what a fact table and a dimension table are, that you have chosen a grain, and that you understand primary and foreign keys. You should also have opened the Model view in Power BI Desktop. Here you combine those pieces into one shape, the star schema, and learn how to c5 min read
07Chapter 7: Creating one-to-many relationshipsThis chapter assumes you can load data into Power BI Desktop, open the Model view, and read simple DAX. It also assumes you know what primary and foreign keys are. You should already have a fact table and dimension tables with the keys described in earlier chapters. Here you connect them.5 min read
08Chapter 8: How filters flow from dimensions to factsThis chapter explains how a filter selected on a dimension table reaches the fact table, and what controls that path. It assumes you can open Model view in Power BI Desktop, you know what primary and foreign keys are, and you can read a simple DAX measure. It builds on the one-to-many relationships 6 min read
09Chapter 9: Writing measures against the starThis chapter assumes you can load data into Power BI Desktop, read the Model view, and write simple DAX. It also assumes you have a star schema with one-to-many, single-direction relationships from dimensions to a fact table. The chapter shows how measures use that shape and which mistakes break the5 min read
10Chapter 10: Building a proper date dimensionThis chapter assumes you can load data in Power BI Desktop, work in Model view, and write simple DAX. It also assumes you know what a one-to-many relationship is and why a fact table holds foreign keys. Here you build the date dimension that almost every star schema needs.6 min read
11Chapter 11: Flattening dimensions versus snowflakingThis chapter assumes you can load data in Power BI Desktop, read the Model view, and write simple DAX and Power Query. It also assumes you know what a fact table, a dimension table, and a one-to-many relationship are. The decision here is how to shape a dimension: as one wide table (flattened, or de6 min read
12Chapter 12: Turning a flat table into facts and dimensions in Power QueryThis chapter assumes you can open Power Query Editor, read basic M syntax, and recognize primary and foreign keys. You should also know the star schema ideas from earlier chapters: grain, fact tables, dimension tables, and one-to-many relationships. Here you split one wide import into a fact table a6 min read
13Chapter 13: Role-playing dimensions such as order date and ship dateThis chapter assumes you can load tables into Power BI Desktop, create relationships in Model view, and read simple DAX. You should also know what a fact table, a dimension table, and a one-to-many relationship are. The earlier chapters cover them.6 min read
14Chapter 14: Why a star schema is smaller and fasterThis chapter assumes you can load data in Power BI Desktop, read the Model view, write simple DAX measures, and tell a primary key from a foreign key. It explains why a star schema usually gives a smaller model and quicker queries than a single wide table. It also covers where that advantage can dis6 min read
15Chapter 15: Many-to-many relationships and bridge tablesThis chapter assumes you can build a star schema in Power BI Desktop, create one-to-many relationships in Model view, and read simple DAX. It covers the case where a dimension and a fact table do not fit the one-to-many pattern, and how a bridge table resolves it.6 min read
16Chapter 16: Anti-patterns to avoid and how to fix themThis chapter assumes you have read the earlier chapters. You should know what grain, fact tables, dimension tables, keys, and one-to-many relationships are. You should also be comfortable with basic Power Query and DAX. Here we collect the mistakes that most often break a star schema, show how to sp7 min read