Skip to main content
Albero Academy

Relationships

Link tables so filters flow correctly across the model.

Data Modeling8 min

Relationships connect tables on a shared key, so filtering one table filters the others. They're what let a slicer on "Category" filter a chart of "Sales" — the model, not the visuals, does the work.

Cardinality & direction

Most relationships are one-to-many: one row in a dimension (a product) relates to many rows in the fact (many sales of it). Filters flow from the "one" side to the "many" side automatically.

one-to-many
Products (one) ───< Sales (many)
ProductID ProductID
Filtering Products by "Category" filters Sales through the relationship.

Key takeaways

  1. 01Relationships link tables on a key so filtering one filters the others.
  2. 02Most are one-to-many: one dimension row → many fact rows.
  3. 03Filters flow from the "one" side (dimension) to the "many" side (fact).
  4. 04Keep cross-filter direction single by default; bidirectional can cause wrong results.

Finished this chapter?

Mark it complete to track your progress through Power BI.