cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adciudad Regular Visitor
Regular Visitor

combine columns

Want to know how to do in the query editor to combine tables using 3 fields of each, that is, its primary key is composed of 3 fields

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: combine columns

Hi there

Here is a blog post by Ken Puls who explains how to do it with 2 columns, you can simply click on the 3rd column to have it across the 3 fields.

https://www.excelguru.ca/blog/2015/10/28/merge-data-based-on-two-columns/

Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
Power BI Blog

View solution in original post

Community Support Team
Community Support Team

Re: combine columns

Hi @adciudad,

 

You can add a column to original tables with merged 'column1','column 2' values, then use these new columns as join key to combine two tables.

 

Regards,

Xiaoxin Sheng

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



For learning resources/Release notes, please visit: | |

View solution in original post

2 REPLIES 2
Super User
Super User

Re: combine columns

Hi there

Here is a blog post by Ken Puls who explains how to do it with 2 columns, you can simply click on the 3rd column to have it across the 3 fields.

https://www.excelguru.ca/blog/2015/10/28/merge-data-based-on-two-columns/

Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
Power BI Blog

View solution in original post

Community Support Team
Community Support Team

Re: combine columns

Hi @adciudad,

 

You can add a column to original tables with merged 'column1','column 2' values, then use these new columns as join key to combine two tables.

 

Regards,

Xiaoxin Sheng

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



For learning resources/Release notes, please visit: | |

View solution in original post

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 350 members 3,375 guests
Please welcome our newest community members: