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
michaelshparber
Advocate V
Advocate V

Main dimension inactive relationship

I manage sales reports for several Companies using same tables.

I have a "Companies" dimension with which I want to manage row-level security.

So I want it to filter by relationship both Products and Customers dim tables, which, it turn, filter the Sales table...

But Power BI doesn't let me have two active relationships and I cannot understand why... I don't see any conflict with filtering flow...

What do I miss and how to do this right?

Attached below is the link to file

Thanks!

 

Screenshot 2020-10-04 233354.png

 

https://1drv.ms/u/s!AoP_9ampPIT79T8YItyxu47MBGH8?e=Uqcsjp

 

2 REPLIES 2
amitchandak
Super User
Super User

@michaelshparber , Because then there will two paths to reach from company to sales. That is why on join is inactive to make sure one path is active.

 

I would advise you to prefer star schema and join the company with sales. In case you want to filter products and customers based on the company. Take sales measures from sales and use that in the visual filter for products and customers for nonblank.

 

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

I don't want to filter non blank, there are products and customers without sales and I want them to be shown for instance in slicers.

Also, I don't want to filter a measure in each and every visual...

I need a more simple and robust solution, any ideas?

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.