Module 03 · Data modeling

Create relationships

Connect tables so filters flow correctly.

Step by step7 minLesson 10 of 21 Free

A relationship is a "bridge" between tables. Thanks to it, picking a product in the Product table automatically filters the sales in the Sales table, with no columns copied across.

Illustration of Model view: the Sales table in the middle, connected to the Date, Product and Region tables by lines marked 1 and star, with filter-direction arrows. Zoom
Model view: each card is a table, each line is a relationship.

Click a number on the picture or in this list to highlight that area.

Step by step

  1. Step 1: Also load the Product and Region tables from the practice file (Home → Get data → Excel workbook), then switch to Model view to see all your tables as cards.

    Tip: Power BI often creates relationships automatically when data loads. Still check that the lines are right.

  2. Step 2: Drag a key column (for example ProductID in Sales) onto the matching column in another table (ProductID in Product). If a relationship window opens, check it and save.

  3. Step 3: Check the cardinality (usually one-to-many, 1 → *) and that the relationship is active (a solid line, not dashed).

    Watch out: Two paths between tables cause ambiguity. Keep one active relationship per pair of tables.