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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
brankocareer
Helper I
Helper I

RLS Question

Hi Power BI Guru,

 

I am new to RLS.  I created a security table contain 2 columns [Email Address] and [Brach Code], aming to create a dynamic RLS rule: the user can only see his own branch's information. Currently the branch code is uniq, and the relation is 1 to 1. The RLS rule works well at this moment.

brankocareer_1-1736875290589.png

However, I want to add more person into security table, the branch code is not uniq, the relation is changed to 1 to many, then the RLS rule doesn't work. I don't kow why. And how to address the issue?

brankocareer_2-1736875490920.png

 

Thank you in advance!

Branko

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

The first version doesn't work either.  RLS requires that its restrictions impact the rest of the data model.  You need to change your joins to single direction, from the Security table to the Branch Master table. Make the second link Many To Many but only single direction.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

The first version doesn't work either.  RLS requires that its restrictions impact the rest of the data model.  You need to change your joins to single direction, from the Security table to the Branch Master table. Make the second link Many To Many but only single direction.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.