Forum Discussion
Row Level Security (managers vs Non managers)
Hi Experts,
I need A help on Row Level security.
Case:
In the below table for the example,
1. if Manager login into the report he/she can see the all Non Mangers(Is_Manager = 0) Data + His/Her Data Only.
2. If Non Manager login into the report he/she can see only his data.
| Primary Key | Name | Is_Manager | |
1 | abc | 1 | [email protected] |
| 2 | xyz | 1 | [email protected] |
| 3 | pqr | 0 | [email protected] |
| 4 | def | 0 | [email protected] |
Thanks & Regards,
Madhu Babu
2 Replies
- AnonymousNot applicable
Anonymous
This is exactly the dynamical RLS scenario, where users can only see their own data. Please refer the step by step guide: DAX USERPRINCIPALNAME - Use in RLS - Power BI DocsSince RLS only works on Viewers, you can just set the users' workspace role as Viewer and set the manager's role as member or above. Or just add the non mangers to the RLS security role.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly. - AnonymousNot applicable
Thank You for the response. But you're solution was not met my criteria.