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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Obi55
Frequent Visitor

RLS Help

Hi, I am in need of some guidance on RLS. I have 4 tables - Billing Lawyer, Responsible Lawyer, Accounts and Sales. How can I set up RLS in a report that has two different "views" - Billing Lawyer and Responsible Lawyer, when an employee can be both Billing and Responsible. When viewing as Billing, they should see all sales where they are Billing Lawyer, and when viewing as Responsible, they would see all sales where they are Responsible. I tried to apply security to both lawyer tables but the problem is both security rules are applied at the same time, meaning they can only see sales where they are BOTH Billing and Responsible. I need it so that if they are viewing as Billing, then only the rule from that table would apply, and if they are viewing as Responsible then only the rule from the Responsible table would apply, not both at the same time. Thanks!
Sample.PBIX 

3 REPLIES 3
NaveenGandhi
Memorable Member
Memorable Member

Hello   

The simpler solution would be to have two fact for billing and responsible lawyers. The model and tables would look something like below.  

 2.png

 1.png3.png

 

 

 

  

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

 
 
 
 
 
 
 
 
 
 

 

Thanks for your help. I did have that as a solution but the thing is I actually have lots more fact tables and some of them are quite large, so was hoping to avoid duplicating them all if possible, especially as I would have to duplicate hundreds of measures too. Thanks

I am afraid with the existing model this cannot be done. RLS in billing and responsible both should be true in order to show some data, thus the problem.


 
 
 
 
 
 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors