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

Use RLS on a table without filtering other tables

Is it possible to stop a user seeing a table without it impacting the other related tables?

 

I have an extremely complex HR data model. RLS is based on a master cost centre list, but there are two copies of it, one for payroll and one for HR data.

 

I cannot use a single copy, as an employee can exist in payroll in one location for some payroll periods, and then site in another cost centre as their home for HR reports. The manager may need to see when that employee gets costed to their cost centre, but should not see their personal details.

 

So am left with two copies of this mapping. One drives HR data, the other payroll data. If i assign someone to the HR data, but use RLS to hide all payroll tables, then they filter out all the payroll data, but go on to filter out the HR data.

 

My solution was to create an effective barrier in the relationships between HR and Payroll data relationship directions, but the problem I have is some users need to be able to access both sets of data simultaneously (including myself).

 

Any ideas on the best approach to this?

1 REPLY 1
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

Sorry,I'm a little confused,if you want someone to access both 2 tables,then you dont need to set the RLS to them,in other words,they can see all the data and no RLS rules are applied to them,and for those who you only want them to see part of the data,then you need to set the related RLS rules.

For reference,pls see below:

https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

Best Regards,
Kelly

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

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