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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
majdkaid22
Helper V
Helper V

Row level security exempt

Hi guys,

 

I've started applying RLS for Sales users, so data in all tables drill down to see only their figures/statistics. 

 

My filter is simple. [user_name]="value" which I have applied for all users and did the test role and it worked as expected. 

 

However my issue is with the rest of the users (senior Management) as I want them to be exempt, and where they are able to see all the data. 

 

Now I have Sales users being able to see their own data, but the rest of the users getting a message of "You don't have access becuase RLS was applied"

 

Is there any quick workaround here I can do here to exempt particular users from the RLS?

 

 

Appreciated,

1 ACCEPTED SOLUTION

@KHorseman @ibarrau 

 

So once RLS mode in place, a role has to be created to each user/department. 

 

In my case I had definded roles to only Sales users (users[user_name]= "Sales Name")

As a workaround, I just created a conditional column (users[SeniorManagement] which has a value of "SM" to all sales users, and then created a role SM (users[SeniorManagement]= "SM") and then I added all SM users so they can see all the data 

 

 

Thanks for your respond guys.

 

Cheers,

Majd

View solution in original post

5 REPLIES 5
ibarrau
Super User
Super User

It seems to be that those users getting the error are not PRO users. Because if they where, they should see all data even if you add them a role, they should see something.

 


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

Once you publish online, you have to go to the dataset and click on Security, then add the users to the roles you've created in Desktop. Have you done that yet?





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

Proud to be a Super User!




@KHorseman @ibarrau 

 

So once RLS mode in place, a role has to be created to each user/department. 

 

In my case I had definded roles to only Sales users (users[user_name]= "Sales Name")

As a workaround, I just created a conditional column (users[SeniorManagement] which has a value of "SM" to all sales users, and then created a role SM (users[SeniorManagement]= "SM") and then I added all SM users so they can see all the data 

 

 

Thanks for your respond guys.

 

Cheers,

Majd

@majdkaid22I think you may have misunderstood me. You can create a single role for all of your sales managers or whatever. You do not have to create a separate role for each individual manager. You just have to assign each user to actually use that role once you publish. After publishing, go to Datasets, right click on the dataset with the row level security and click on "Security" in the menu that pops up. You will see the roles you have created. Add user accounts to that role and save.





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

Proud to be a Super User!




@KHorseman appreciated buddy. that exactly what I did. Now I have all sales users under one role where they can only see their associated data, and Senior Management under a different role where they can see all the data. 

 

 

Cheers,

Majd

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors