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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jimrosser
Helper II
Helper II

Ignore RLS Path Hierarchy if Super User

Hi - I'm stumped on this one.  I have a Path set up for RLS hierarchy in my organization but can't figure out how to stop using the path if the user is marked as a Super User.  If they are Super User then I'd like for them to see all employee records.

This is what I have so far but I'd like to put a switch or If statement saying to disregard path if condition is met.

Hierarchy Path = PATH(data987654[Employee ID], data987654[Manager ID])
 
IF(
LOOKUPVALUE(
data987654[Super User],
data987654[AD Account],
USERPRINCIPALNAME()
)=1,
tRUE(),
[AD Account]=USERPRINCIPALNAME()
)
1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Your best bet would be to setup another role for the superusers where there is no RLS applied and just put them in that role.

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

Your best bet would be to setup another role for the superusers where there is no RLS applied and just put them in that role.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.