Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Powerbi1979
New Member

Ambiguous Relationship - Best Practices

Hi,

 

From a data modelling perspective, what is the perferred best practices solution to the following situation? In this case, the Organization dimension exists on both Employees and Projects, and the FactLabor table joins to both Employees and Projects - hence the circular relationship.

  

A second dimension table for organization (one for project one for employee) and sync slicers? I just want to know from a modelling stand point the best practices in this case. Perhaps there is a way to explicitly define join contexts or something like that.

 

A6668F82-3E1C-4EC6-BD38-8A9A65CD8423.png

788C461C-D4DF-415D-8FB7-170A3A8E49EE.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Powerbi1979 , As there are two paths to fact you can not join.

 

Two option

1. keep it independent and filter measure and slicer using the selected values

Slicer  filter example

How to filter the slicer of a disconnected table: https://youtu.be/cV5WfaQt6C8

You also need make sure all measures get filtered 

 

2. Merge it with both dimensions in the power query. but that will not give common filter

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Powerbi1979 , As there are two paths to fact you can not join.

 

Two option

1. keep it independent and filter measure and slicer using the selected values

Slicer  filter example

How to filter the slicer of a disconnected table: https://youtu.be/cV5WfaQt6C8

You also need make sure all measures get filtered 

 

2. Merge it with both dimensions in the power query. but that will not give common filter

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.