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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Zaishende
Frequent Visitor

RLS Admin bypass

Hi Everyone, 

 

I'm  new here to this forum and excited to work with you guys.

So i've got a problem..

 

Let's say i've build a repport that's for multiple company's

 

Zaishende_0-1698387680883.png

All the info shown in the repport is based on this main slicer company 450 excists out of three company's: 100, 150 and 200.

For the managers i've put in restriction based on RLS.

Manager 100: 

Zaishende_1-1698387965774.png

And so on...

So far so good!

But ofcourse i want grouped information for the ceo and that's where i'm stuck.

I have no data to base the RLS rules on for the grouped data.

 

Does anyone know a work around? like maybe add an admin like user?

1 ACCEPTED SOLUTION

Regardless if you use static or dynamic RLS, it all boils down to create DAX formulas that have to evaluate to TRUE() or FALSE() with TRUE() giving access and FALSE() denying access.  Setting the CEO's formula to TRUE() gives them access to everything.

View solution in original post

5 REPLIES 5
Zaishende
Frequent Visitor

That's helped and it's fixed now. 

Thanks buddy!

mussaenda
Super User
Super User

Hi @Zaishende ,

 

create another rls that doesnt have any filter and add the ceo users.

lbendlin
Super User
Super User

Put in a RLS rule for the CEO that evaluates to TRUE()

Hi Ibendlin, 

 

Thanks for the reply!

I'm not really getting it tho, care to further explain?

 

Thanks.

Regardless if you use static or dynamic RLS, it all boils down to create DAX formulas that have to evaluate to TRUE() or FALSE() with TRUE() giving access and FALSE() denying access.  Setting the CEO's formula to TRUE() gives them access to everything.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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