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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
smtiwari
Helper I
Helper I

Multiple Column Relationship- Power BI Data Model

Hi All,

 

I have a question about defining multiple column relationship between 2 tables.I am defining RLS on UserProfile  :

 
 

Query.PNG

 

I want to filter Company on basis of User Profile table, combination of 3 columns- OrganizationId, ShopId and OfficeId

However, OfficeId can be null so in such cases, I have to only consider OrganizationId and ShopId for joining, so that in my report I am able to view all Offices for that OrganizationId- ShopId Combination.

Also making sure the filter propagates from many to one side , which is not happening? Any workarounds?

2 ACCEPTED SOLUTIONS
v-diye-msft
Community Support
Community Support

Hi @smtiwari 

 

Do you mean you'd like to join the table by several columns in the table?

Plz kindly refer to below threads fror better practice:

https://community.powerbi.com/t5/Desktop/Join-tables-based-on-multiple-columns/td-p/277802

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/688736

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/1091757

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

Thanks @v-diye-msft  for your response, I used the same method but I also had to tweak my data model for it to work.

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @smtiwari 

 

Do you mean you'd like to join the table by several columns in the table?

Plz kindly refer to below threads fror better practice:

https://community.powerbi.com/t5/Desktop/Join-tables-based-on-multiple-columns/td-p/277802

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/688736

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/1091757

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Thanks @v-diye-msft  for your response, I used the same method but I also had to tweak my data model for it to work.

Helpful resources

Announcements
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.