Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi Everyone,
I have created two roles as Manager and Non Manager where I have assigned some of the people to Manager and Non Manager. After I have assigned people to the Power BI service and tested as a role using the email Id but it is not working. Even the Non manager is able to see all the data.
Can anyone please help me with this.
Thanks in Advance.
@kamalbandam , Hard to say, without looking at the configuration setting. Can you share more details.
Also, refer these two for any missing steps
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi
https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies
Hi @amitchandak ,
Manager will see all the regions data but Non Manager will not see the Region "East" data and a person abc@gmail.com has been assigned to the Non Manager data in the power bi service. So, when I try to check using Test as role with abc@gmail.com , I am able to see the east data too.
Please find the below images:
@kamalbandam - Would need to see your RLS rules and such. Have you been following something like this:
Hi @kamalbandam,
Perhaps you can add a mapping table to set username and their roles(manage/non manage) and apply a filter on this field. You can take a look at the following link about RLS with username if helps.
If you still confused about coding formula, please provide some dummy data and expected results to help us clarify your structure and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaxoin Sheng
@kamalbandam - Might want to rethink that. Generally if you are using USERPRINCIPAL name or email address to to the RLS, you want it to be dynamic.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |