Intermediate Data Modeling in Power BI
Sara Billen
Curriculum Manager at DataCamp
Cross-filtering: Selecting a value in one visual narrows down visible data in other visuals


Data model:


Data model:


Filter in one direction

Filter in both directions

Show only relevant slicer entries
Data model: 

$$
Report view:

Only sweaters were sold in Australia

*Product Id: C3 = Sweater, Country Id: AU = Australia
Show only relevant slicer entries
Data model: 

$$
Report view:

Bi-directional filters cannot allow for two separate paths between two tables

Bi-directional filters cannot allow for two separate paths between two tables




USERELATIONSHIP() in DAX to specify which relationship to use:Measure Name = CALCULATE(<Measurement function>,
                         USERELATIONSHIP(<Dimension Key Column>, <Fact Key Column>)
  Intermediate Data Modeling in Power BI