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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Domenico96
Frequent Visitor

Hierarchy RLS

Hello ,

I have a data model that is connected this way : 
dm_user -> dm_ user_territory-> dm_territory -> ft_visit. 

I want to create a RLS rule using the email from the dm_user to filter the territory. 
The territory table has this hierarchy : 

RegionAreaterritory email
a  email a
ab email b
abcemail c
adeemail e

so A can see all the levels, B can see Area and Territory, C can only see territory. 

How can I set the RLS in the way that if I enter with Email A, I can see al the people ? and if I enter with Email B I can only see area and territory where B is the Area manager , and if I entere with email C I can only see territory with C?

Thank you in advance for the help. 

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Hello! I love using RADACAD's guidance for dyanmic RLS following a hirarchy: Dynamic Row Level Security with Organizational Hierarchy Power BI - RADACAD





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

Proud to be a Super User!





View solution in original post

2 REPLIES 2
v-ssriganesh
Community Support
Community Support

Hi @Domenico96,

Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to @audreygerred for sharing valuable insights.

 

Could you please confirm if your query has been resolved by the provided solutions? This would be helpful for other members who may encounter similar issues.

 

Thank you for being part of the Microsoft Fabric Community.

audreygerred
Super User
Super User

Hello! I love using RADACAD's guidance for dyanmic RLS following a hirarchy: Dynamic Row Level Security with Organizational Hierarchy Power BI - RADACAD





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

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors