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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

RLS on Organizational Hierarchy

Hi,

We are trying to implement RLS on organizational hierarchy.
 
Let's take Hierarchy from 1 To 7 , 1 is Higher & 7 is Lower Level.
Main Table contains only last 3 level (5,6,7). 
ApurvaGupta_2-1645694427356.png
User Table contains all hierarchy related data. (1,2,3,4,5,6,7). ApurvaGupta_1-1645694140241.png
  1. How can we map both the tables?
  2. How to apply RLS?
  3. 8 Employees should have all India level access. These can be from any level. 
3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

In your data, are there any subordinate relationships between different levels of employees? For example, in the first row of data, is the immediate supervisor of staff id 1 the employee with ID 10?

 

vkkfmsft_0-1646287928886.png

 

Best Regards,
Winniz

Anonymous
Not applicable

@amitchandak Tried but the issue is we are unable to map the data. Main Table have only lower level staff ids and id below(screenshot) have all the list of employees in the company. 
How it will filter main table data?

ApurvaGupta_0-1645706822159.png

 

amitchandak
Super User
Super User

@Anonymous , Have you checked if this approach is not helping

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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