Sub topic 2
Finding your way around the Model view
This chapter assumes you can load tables into Power BI Desktop, know what a column, a measure, and a slicer are, and have seen a star schema of fact and dimension tables. Here you will learn to read the Model view, the canvas where Power BI shows your tables and the relationships between them.
Opening the Model view
Power BI Desktop has three views, listed as icons on the left edge of the window: Report, Table, and Model. Select the Model icon, the one that looks like three connected boxes. The canvas shows one box for each table and a line for each relationship.
The Data pane on the right lists the same tables and columns. The Properties pane shows details for whatever you select, such as a table, a column, or a relationship line.
Reading a table card
Each table appears as a card with its name in the header and its columns below. Look for these details:
- Key columns that you plan to use in relationships. Their names often end in "Key" or "ID".
- Hidden columns, which show with a crossed-out eye icon. They are hidden from the report but still work in relationships.
- Measures, which show with a calculator icon. They live in a table but do not take part in relationships.
Dimension tables usually have fewer rows and many descriptive columns. Fact tables have many rows and mostly keys and numbers.
Reading a relationship line
A line between two cards is a relationship. Three markers on the line tell you how it behaves.
| Marker | Where it appears | What it tells you |
|---|---|---|
| 1 or * | At each end of the line | Cardinality: 1 is the one side, * is the many side |
| Arrowhead | In the middle of the line | Cross-filter direction. One arrow means single direction, two arrows mean both |
| Solid or dashed line | Along the line | Solid is an active relationship. Dashed is inactive |
A typical star schema shows a 1 on each dimension card and a * on the Sales card, with arrows pointing from the dimensions toward Sales. Later chapters explain each marker in detail. For now, learn to spot them.
Moving around the canvas
Large models get crowded. These actions keep the canvas readable:
- Drag cards to place dimension tables around the fact table.
- Use the zoom controls at the bottom right, or the fit-to-screen button, to see the whole model.
- Select a relationship line to highlight the two columns it joins. Power BI highlights both columns on the cards.
- Double-click a line to open its Edit relationship dialog.
- Use the tabs at the bottom to create extra layouts of the same model, for example one that shows only the tables for a single report page.
Moving a card changes only the layout. It never changes the data or the relationships.
Where to find the relationship settings
You can reach relationships in two places. Double-clicking a line opens the Edit relationship dialog for that one relationship. The Manage relationships button on the Home ribbon lists every relationship in the model, with its tables, columns, cardinality, and active status. The list is a quick way to check the whole model for dashed lines or unexpected both-direction filters.
Exercise
You open the Model view and see a dashed line between Sales and Date, with a 1 at the Date end and a * at the Sales end. What does the dashed line tell you, and where could you see the same information for all relationships at once?
Show answer
A dashed line means the relationship is inactive, so it does not filter by default. The Manage relationships dialog on the Home ribbon lists every relationship and its active status.