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
torstew
Regular Visitor

Dynamics RLS rules conflict

Hello

 

I have tried to provide a rudementary example of a data model to describle the scenario, below.

 

In short, we have implemented dynamics RLS.

Each role works individually, but when I enable both they conflict as there is effectively an overlap.

 

The problem / access I am trying to solve is that a user should only be able to see data for their businessunit but effectively two different ways, they can see:

1. any opportunity data owned by their business unit and any invoices related to these opportunities, AND

2. all invoices owned by their business unit and any opportunities relating to those invoices

 

As mentioned, I have created roles that individually work, but due to the relationship between opportunities and invoices, the filters once both enabled effectively create an error.

 

I presume the only way to address this is some form of DAX formula, but I don't know how.

 

I can confirm that I can create static RLS for the scenarios, and apply the two static roles per business unit, but as there are around 30 business units, two roles each, and hundreds of potential users it's an exceptional admin overhead to manage.

 

Any thoughts or recomendations would be much appreciated.

 

Thank you.

 

torstew_5-1643204245857.png

 

 

3 REPLIES 3
lbendlin
Super User
Super User

Highly recommend you watch the replay of today's Power BI Dev bootcamp session when it comes out.

Session 18: Developer Deep Dive into Row Level Security (RLS) · Power BI Dev Camp (powerappsportals....

Thanks for sharing. Is it usually available soon after?

yes, check back in a day or so.

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.