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
BlueRanger
Frequent Visitor

Dynamic Row Level Security - Data schema issue

Hello,

 

I am struggling to implement dynamic row-level security access to my data model. I have identified two relationships that are causing the problem (see highlighted in image below). If either of the highlighted relationships is deleted from the model, RLS will work; however, this causes my model to have erroneous reporting numbers. As you can see below, the user table is connected to the Organization table via "Location ID". The Organization table is connected to the Org Mapping Table via "Location ID". And, the Org Mapping Table is connected to the Item Sales table via "Organization Key".

Screenshot 2023-06-30 133857.png

Any possible solutions or ideas would be greatly appreciated. 

 

Thanks!

2 REPLIES 2
ppm1
Solution Sage
Solution Sage

You should avoid bi-directional filters. The one is likely needed for RLS in your case, but you should learn how to pass filters around with CROSSFILTER or TREATAS to avoid bi-di relationships, when possible. Can you go straight from the User Location Table to the Org Mapping table on location_id?

 

Pat

Microsoft Employee

Hi Pat,

 

Thank you for your reply. I will take a look into CROSSFILTER and TREATAS. I am able to connect from the user location table to the org mapping table on location_idS. Unfortunately, I am running into the same issue as before with this new relationship. 

BlueRanger_0-1688400509801.png

 

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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