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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.