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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
kezza04
Frequent Visitor

Row Level encryption allow admin to see all

Hi 

Loving the row level encryption.  Cannot figure out how to provide access to admin to see all of the data

So I have a filter on a group for manager records and another on users records using "[Email] = USERPRINCIPALNAME()"

would like the admin to see all

 

 

1 ACCEPTED SOLUTION

4 REPLIES 4
amitchandak
Super User
Super User

@kezza04 , if user is workspace admin, the RLS do not apply. make the person workspace admin

 

or have code like

 

Switch( True(), [email] ="admin@abc.com" , true(),

[Email] = USERPRINCIPALNAME(), true(), false())

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks.  this is not yet a cloud report so first idea won't work.

I tried the switch statement exactly but that is not working either with no data showing for the admin user.

The way I need it to work is if admin don't apply filter, else apply filter.  With the code you provided it seems to me the filter will always be applied?

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.