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
Anonymous
Not applicable

RLS as an exception

How would you build a role level security where they have access to everything EXCEPT something?  I want everyone to be able to see all expense categories for all cost centers EXCEPT salaries and wages, and then only see salaries and wages for certain cost centers (from a table list of these cost centers).

 

I found where you could filter on 1 field (cost center) based on a table of e-mails and built that.  -> CONTAINS(Permissions, Permissions[Cost Center],'CC List - 2019'[Cost Center],Permissions[Email],[Getemail]) 

This would work if I just wanted to give people access to certain cost centers, but I only want to filter those cost centers on 1 field.

1 REPLY 1
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

Could you have tried to define any rules for your data?

https://docs.microsoft.com/en-us/power-bi/service-admin-rls#define-roles-and-rules-in-power-bi-desktop

If you could share a simple data and post your desired result will be better.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors