Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello everybody! Hope someone can help me with this problem:
I have a table with various employee information, named Employees.
| Registration Code | Name | Area | Entity | Cost Center |
I also have a table with HR BPs by service area/entity, named BP_Entity
| BP Name | BP Email | Area | Entity |
| name1 | name1@company.com | HR | People |
| name1 | name1@company.com | HR | Rewards |
| name1 | name1@company.com | HR | Benefits |
| name2 | name2@company.com | Logistic | Inboud |
| name3 | name3@company.com | Logistic | Warehouse |
| name4 | name4@company.com | Sales | Marketing |
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.
| Entity | Cost Center |
| People | 1111 |
| People | 2222 |
| People | 3333 |
| People | 4444 |
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
Change your RLS rule DAX accordingly?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 34 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 71 | |
| 38 | |
| 35 | |
| 25 |