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

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.

Reply
mbabu
Frequent Visitor

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 KeyNameIs_ManagerEmail

1

abc1abc@domain.com
2xyz1xyz@domain.com
3pqr0pqr@domain.com
4def0def@domain.com

 

Thanks & Regards,

Madhu Babu

2 REPLIES 2
mbabu
Frequent Visitor

Thank You for the response. But you're solution was not met my criteria.

V-pazhen-msft
Community Support
Community Support

@mbabu 

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 Docs

 

Since 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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.