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

Row Level Security

Row Level Security

Hello All,

Please provide suggestions on the following RLS question– we have been trying for a while – but not able to solve.

We have a User table and a Department table. 

User table has columns - User Id, User Name, User email, and Department Id.

The Department table has columns - Department Id, Department Name, and Department Manager.

The two tables are connected on Department Id. 

With RLS, I can limit department information by user –> In Manage roles - on user table – User email = userprincipalname()

Some users have ALL in the Department Id column rather than the Id of the department – which means they should be able to see information on all the departments. 

How do we code this in Row Level Security i.e., Manage Roles.  

Many Thanks!!

Pav

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , refer how to handle all

Power BI- Row Level Security: Handle ALL, UserPrincipalName: https://youtu.be/KVLEnIUo4pc

 

Refer if needed

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

View solution in original post

Anonymous
Not applicable

Excellent!!

Thanks very much!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Excellent!!

Thanks very much!

amitchandak
Super User
Super User

@Anonymous , refer how to handle all

Power BI- Row Level Security: Handle ALL, UserPrincipalName: https://youtu.be/KVLEnIUo4pc

 

Refer if needed

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