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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nrichards_au
Helper I
Helper I

Row Level Security exclusions

I don't think it's possible but I'm putting it out there.

 

I've got a fact table that has RLS against the DEPT ID field. I was wondering if it's at all possible to exclude RLS against the particular column?

The values in column Org need no restrictions as it's accessible organisation wide

BU IDSTAFF IDOrgDivBU
1ATTT
2

B

FFF
3CTFF




 

 

1 ACCEPTED SOLUTION
nrichards_au
Helper I
Helper I

Thanks everyone for the responses.

It wasn't that I didn't know how to create a solution more wondering if RLS could be ignored against a particular column in spite of it being against the nature of RLS.

 

I'm dealing with fact tables of about 500M rows so wanted to limit duplicate aggregation tables if possible but don't think it is possible

View solution in original post

6 REPLIES 6
nrichards_au
Helper I
Helper I

Thanks everyone for the responses.

It wasn't that I didn't know how to create a solution more wondering if RLS could be ignored against a particular column in spite of it being against the nature of RLS.

 

I'm dealing with fact tables of about 500M rows so wanted to limit duplicate aggregation tables if possible but don't think it is possible

v-tsaipranay
Community Support
Community Support

Hi @nrichards_au ,

 

May I ask if you have resolved this issue?  If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @nrichards_au ,

 

May I ask if you have resolved this issue?  If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Also thankyou @MarkLaf  for your inputs.

 

Thank you.

MarkLaf
Super User
Super User

You need to duplicate the column in a calculated table that doesn't get filtered by RLS. If not entirely applicable to your scenario, this SQLBI article walks through the general pattern: https://www.sqlbi.com/articles/computing-accurate-percentages-with-row-level-security-in-power-bi/

 

Is there a particular calculation you need to achieve? To provide more help, I think we'd need a little bit more context related to your model incl dummy data + desired output you want.

v-tsaipranay
Community Support
Community Support

Hi @nrichards_au ,

I wanted to check if you had the opportunity to review the information provided by @Akash_Varuna . Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

Akash_Varuna
Super User
Super User

Hi @nrichards_au You could achive this thorugh DAX or BY moving the rquired to a dim table please try these 

  1. Custom RLS Filter in DAX

    • Apply a filter that allows unrestricted access to rows based on Org:
      [DEPT ID] = "AllowedDeptID" || [Org] = "T"
  2. Separate Roles for Exclusions

    • Create two roles: one with RLS for restricted users and another unrestricted for users who need access to Org.
      You could also remove the Org column from Fact and create a Dim table and apply rls to fact only not to Org
      If this post helped please do give a kudos and accept this as a solution
      Thanks In Advance

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.