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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dan_johnson
Frequent Visitor

How do I assign a hierarchy of viewer permissions based on filters?

I would like to assign a heirarchy of viewer permissions per the following example:

 

Each Manager can only view the performance of their direct reports 

Each Manager cannot view the data of other Managers and their direct reports

The Senior Manager can view all of their reporting Managers and direct reports

 

I have a filter for Senior Manager by name and filter for Manager by name beneath it

 

My goal is when the Manager/Senior Manager views the report they do not have the option to view other Managers data.

How can I achieve this?

 

Much appreciated,

Dan

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @dan_johnson

USERNAME() function returns the username from the credentials given to the system at connection time.

and for your case, you could use USERNAME() function with Row-level security (RLS).

here is some reference:

https://docs.microsoft.com/en-us/power-bi/service-admin-rls

http://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

http://radacad.com/row-level-security-configuration-in-power-bi-desktop

 Please understand that this link is provided “AS IS” with no warranties or guarantees of content changes, and confers no rights.

 

Best Regards,
Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi, @dan_johnson

USERNAME() function returns the username from the credentials given to the system at connection time.

and for your case, you could use USERNAME() function with Row-level security (RLS).

here is some reference:

https://docs.microsoft.com/en-us/power-bi/service-admin-rls

http://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

http://radacad.com/row-level-security-configuration-in-power-bi-desktop

 Please understand that this link is provided “AS IS” with no warranties or guarantees of content changes, and confers no rights.

 

Best Regards,
Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Lin,

 

This is very helpful!

 

Dan

MFelix
Super User
Super User

Hi @dan_johnson

You need to setup the row level security.

Check the link below.

https://docs.microsoft.com/en-us/power-bi/service-admin-rls

Regards,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors