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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
jimrosser
Helper III
Helper III

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.