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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
cgaralde
Frequent Visitor

Help in Modeling Data - Relationship becomes Inactive

Hi,

 

I have the following messy data model.

 

My main Fact Table is FACT_STOCK_W_COST and this should be filterable by DOOR (location), DATE and ITEMS.  Secondly, the hierarchy for the SLICERS are COMPANY filtering BRAND, and then BRAND filtering DOOR.  The slicer hierarchy works acceptably but the Fact Table ends up getting filtered correctly in terms of DATE, COMPANY and DOOR but not by BRAND.

cgaralde_2-1678971680060.png

 

As you can see above, the MANUAL_BRAND link to DIM_ITEMS is inactive which is why FACT_STOCK_W_COST does not get filtered by BRAND.

 

Any insights into this?  Thanks.

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@cgaralde So, if that relationship is active you would have 2 paths between your brand table and your main fact table. You either need to ensure there is only a single path between those 2 tables or use USERELATIONSHIP in a measure.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

HI,

 

The error I get actually says that it would introduce ambiguity between COMPANIES_ONLY and FACT_STOCK_W_COST, which I don't understand. 😞

 

Please forgive me for silly questions as I am still trying to figure things out, but how is it different from the model below? COMPANIES_ONLY filters DIM_DOOR_DETAILS and at the same time MANUAL_BRAND filters DIM_DOOR_DETAILS.

cgaralde_1-1678974977929.png

Similarly, I want to filter FACT_STOCK_W_COST by COMPANIES_ONLY and by MANUAL_BRAND.  I hope this makes sense.  🙂

 

 

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors