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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Ambiguity between tables in data model

Say I have the following data model:

xyz123_0-1637834411955.png

 

The idea is to build three slicers at report level - Organization, Customer and Department.

When filtering data by Organization, the Customer and Department slicers should show the results regarding the Organization values that are selected on its slicer. That should then filter the fact tables results by intersecting the results of the Customer and Department values.

 

It seems that Power BI does not allow for the activation of the relationship between DIM_ORGANIZATION and DIM_DEPARTMENT because that would introduce ambiguity:

xyz123_1-1637834659438.png

 

Is there any way to achieve what I need by redesigning my model? Or is the model valid and I should focus on reaching a solution based on DAX or report level functionalities?

1 ACCEPTED SOLUTION

@Anonymous , If you are looking to filter those in slicer. Create a measure in fact

 

countrows( Fact_sales) + countrows( Fact_order)

 

And use that in the visual level filter of these slicers and check for non-blank values

you can use that in other visuals too, as per need

 

refer

https://www.youtube.com/watch?v=cyOquvfhzNM

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@amitchandak 
When you write "join directly" do you mean something like this?

xyz123_0-1637837846169.png

 

Having this design would not filter Customer and Department values when using the Organization slicer.

@Anonymous , If you are looking to filter those in slicer. Create a measure in fact

 

countrows( Fact_sales) + countrows( Fact_order)

 

And use that in the visual level filter of these slicers and check for non-blank values

you can use that in other visuals too, as per need

 

refer

https://www.youtube.com/watch?v=cyOquvfhzNM

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@Anonymous , You are having two path to reach a Fact like sales from Organization. Power bi need only one path.

 

So either merge ognizations with both tables. Or, if there is a column in fact where it join directly then do not join with dimension. Join with fact

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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