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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
D_G
Frequent Visitor

Enterprise Data modelling and RLS best practices

Hi. I'm looking data modelling best practices for an enterprise. I have a data model with enterprise common master data tables (green), transactional tables (blue), enterprise structure table (Dim_Company) and Local dimension tables (Dim_Warehouse). The need is to apply RLS on Company level so that company user would see only relevant products, customers and warehouses. My current data model looks like this, but for Warehouse I cannot build both direction relation so all users see all warehouses. 

Any suggestions for better modelling?

D_G_2-1725356650695.png

 

 

 

 

1 ACCEPTED SOLUTION
ajohnso2
Super User
Super User

You only need to create a bridge for Fact Sales > <Bridge> > Dim Warehouse enable 2 way filtering.

 

1-2-many Fact to Bridge

1-to-many Bridge to Dim 

 

Your RLS will filter Dim Company which will filter Fact Sales which will filter warehouse bridge which will filter Dim Warehouse.

View solution in original post

3 REPLIES 3
ajohnso2
Super User
Super User

You only need to create a bridge for Fact Sales > <Bridge> > Dim Warehouse enable 2 way filtering.

 

1-2-many Fact to Bridge

1-to-many Bridge to Dim 

 

Your RLS will filter Dim Company which will filter Fact Sales which will filter warehouse bridge which will filter Dim Warehouse.

ajohnso2
Super User
Super User

Are you not able to filter both directions on Dim_Warehouse due to many 2 many relationship? 

If so you can create a bridging table to enable that functionality.

D_G
Frequent Visitor

Yes that exactly the case. 

Should I create bridging tables for all dimensions or only Warehouse one? Fact table has 10 mio records, can double sided relations have impact on performance?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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