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

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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