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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
fishbone77
Frequent Visitor

RLS Dimension

Hi everybody

 

I'm struggling to implement my RLS requirements. I have the following datamodel, where the e-mail adresses of the employees are stored in the employee table. This table is connected to the dimension table via GlobalDimCode1. Each GlobalDimCode1 is assigned to a group which is stored in Level2Name. Now i want to set up RLS so that every employee can see all the data assigned to his group in Level2Name. I hope this makes sense. 

 

fishbone77_0-1678975676953.png

 

Can anybody nudge me in the right direction how to set up RLS for this case?

 

Any help is greatly appreciated. Thank you so much in advance!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@fishbone77 , One of the ways it creates a new table by merging these two tables in the power query that has email and level 2 name. Then you can create RLS on this new table based on email and userprincipalname. This need table should join with employee

 

Merge Tables (Power Query) : https://www.youtube.com/watch?v=zNrmbagO0Oo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=16

 

Merge : https://radacad.com/append-vs-merge-in-power-bi-and-power-query

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

2 REPLIES 2
amitchandak
Super User
Super User

@fishbone77 , One of the ways it creates a new table by merging these two tables in the power query that has email and level 2 name. Then you can create RLS on this new table based on email and userprincipalname. This need table should join with employee

 

Merge Tables (Power Query) : https://www.youtube.com/watch?v=zNrmbagO0Oo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=16

 

Merge : https://radacad.com/append-vs-merge-in-power-bi-and-power-query

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

hi @amitchandak 

thank you for your help. i was able to meet the rls demands by creating creating multiple RLS groups and adding AD-Usergroups to them. But i guess your way would have worked too. 

 

Thanks again

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.