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
Anonymous
Not applicable

Row level security

I have data as employee and supervisor are directly linked.

I applied the RLS on supervisor which is working fine by showing data of all reportees undee a supervisor.

Requirement is to achieve RLS where supervisor can see all reportees and all the reportees under a reportee.

How can this be achieved? Dynamic Row level security 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

4 REPLIES 4
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

According to your description, you want to apply RLS on your users who have the hierarchy, I think you can follow these blogs to achieve the dynamic RLS via Hierarchy in Power BI:

https://blog.jameyjohnston.com/row-level-security-in-power-bi-using-parent-child-hierarchies/

http://angryanalyticsblog.azurewebsites.net/index.php/2016/12/27/dynamic-rls-via-hierarchy-in-power-bi/

https://www.sensdat.com/publications/power-bi-row-level-security-pattern/

 

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.

lbendlin
Super User
Super User

RADACAD have a number of articles on that topic, like this one: Dynamic Row Level Security with Organizational Hierarchy Power BI - RADACAD

lbendlin
Super User
Super User

Needs more details. How did you implement RLS?  Do you have a supervisor role and a reportee role, or is your RLS based on an external reference table that lists permissions per email address?

Anonymous
Not applicable

Yes I have created a supervisor role and filter on the username of the supervisor. This table is exactly similar to classic employee and manager table. I have employee if followed by a column which specifies direct reportee.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors