Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I will try my best to describe the issue I am having. I have several roles against several tables. When only one user is assigned to a single role, everything works fine, but soon as one user is assigned to multiple roles, row level security stops working. For example, I have the following roles, Director, Team Leader, User. If I add User A to both the Team Leader role and User role in the Power BI service, row level security stops to work. However, if I assign them to only one of those roles, it works as expected. I was expecting that whichever role provides the higher level of access would take precedence not that row level would stop working. Of course, the appropriate thing would be to only assign them to one role but access is being managed by AD groups and by 1st line support. My worry is that, if they accidentally assign the user to multiple roles, row level security stops working and the user sees sensitive data they should not be able to see. Is this a problem or am I doing something wrong? There is a reason why we are doing in the way shown in the screenshots below. The traditional hierarchy doesn't work for our business due to various reasons.
Hi, @mandeepdhillon
According to your description and sample picture, I think you want to assign Multiple Roles to one user using RLS in Power BI, I think you can follow these cases and documents to create the correct tables and Organizational Hierarchy to achieve this:
https://community.powerbi.com/t5/Desktop/Row-level-security-multiple-roles/m-p/866260
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi
https://community.powerbi.com/t5/Desktop/power-bi-rls-implementation/m-p/358535#M161644
https://community.powerbi.com/t5/Desktop/Row-level-security-with-multiple-roles/m-p/304964
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Some screenshots
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.