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
xhurit
Frequent Visitor

One person in multiple roles RLS

Hi,

 

I have my dataset configured for RLS and I created 2 groups - ALL and RLS.

 

Group ALL was created for people that should see all of the data.

Group RLS has traditional function as [USERNAME] = USERPRINCIPALNAME() and works fine.

 

The problem is that I have one manager which is assigned to group ALL but he is also a member of mail alias which is assigned to group RLS. 

 

Therefore Power BI automatically determines the most strict role when he opens the dashboard and it limits the data. How can I force Power BI to choose ALL group just for this one guy?

 

Regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @xhurit ,

 

Try modifying Group RLS as [USERNAME] = USERPRINCIPALNAME()&&USERPRINCIPALNAME()<>"the manager"

 

Best Regards,

Jay

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @xhurit ,

 

Try modifying Group RLS as [USERNAME] = USERPRINCIPALNAME()&&USERPRINCIPALNAME()<>"the manager"

 

Best Regards,

Jay

 

GilbertQ
Super User
Super User

Hi @xhurit 

 

Why would you want them in both if they can see everything?

 

I would just have the under in the everything group and they can then filter the data they need to see.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

ibarrau
Super User
Super User

Hi. I don't think you can do that. That's Power Bi default behaviour.  If you can't remove him from that group and this is a unique case that won't be repeated, you can add a hardcode rule for RLS with an IF.

IF ( [USERNAME] <> uniquecase@company.com; [USERNAME] = USERPRINCIPALNAME() )

You can play with the rule. However the recommendation would be removing the person from RLS group because it should see ALL.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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.