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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
gdps_vc
Helper I
Helper I

Help with RLS

Hello everybody! Hope someone can help me with this problem:

 

I have a table with various employee information, named Employees.

Registration CodeNameAreaEntityCost Center
     

 

I also have a table with HR BPs by service area/entity, named BP_Entity

BP NameBP EmailAreaEntity
name1name1@company.comHRPeople
name1name1@company.comHRRewards
name1name1@company.comHRBenefits
name2name2@company.comLogisticInboud
name3name3@company.comLogisticWarehouse
name4name4@company.comSalesMarketing

 

Both tables are connected by the Entity column.

 

I created an RLS on the BP_Entity table using [BP Email] = Userprincipalname(), and managed to ensure that the BPs only see employees from their respective service entities.

 

But here's the problem. An Entity has several Cost Centers.

EntityCost Center
People1111
People2222
People3333
People4444

 

I need BPs to see employees from their respective service entities, but also all employees from the 1111 Cost Center, from the People entity.

 

How can I solve this situation?

 

Best Regards

1 REPLY 1
lbendlin
Super User
Super User

Change your RLS rule DAX accordingly?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.