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
thisisausername
Helper II
Helper II

Join with an OR condition?

I have a Products table with CountryID and Company ID.

 

I have two separate tables with those keys - Countries and Companies.

 

I want to in Power Query do a left or inner join in my Products table on where either [CountryID] = Countries[CountryID], OR where [CompanyID] = Companies[CompanyID]

 

Is this possible, to have this kind of OR condition in a join in Power Query?

2 REPLIES 2
Anonymous
Not applicable

@thisisausername 

As far I as know, you cannot have multiple join types between 2 columns. Currently, I cannot see any workarounds in my test. My suggest would be use append table instead. 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

 

amitchandak
Super User
Super User

@thisisausername , create two tables with these joins and append

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

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