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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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 carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.