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! Learn more

Reply
Anonymous
Not applicable

How can I merge these two columns in Query editor?

I have two tables as shown below. As you can see the TagName column is identical. Can someone show me how to merge these to form a new table with all these columns combined? The length of the 2nd table is 3 times the length of the first one, as it calculates values for the four tags at three different times. I want to do this in query editor rather than with a calculated column using DAX so I can run a python script in the editor.

 

XYZ1233_0-1646317428535.png

 

XYZ1233_2-1646317501388.png

 

 

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You can use MERGE QUERIES option in Power Query editor to achive this:

Pragati11_0-1646317750180.png

Then a new window appears, where you can select both of your tables and the common column you want this merge to happen: (in my case common column is Activity)

Pragati11_1-1646317836791.png

Once you hit OK a new table is created and then just expand the icon as in the screenshot below to get columns from second table:

Pragati11_2-1646317917464.png

 

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

1 REPLY 1
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You can use MERGE QUERIES option in Power Query editor to achive this:

Pragati11_0-1646317750180.png

Then a new window appears, where you can select both of your tables and the common column you want this merge to happen: (in my case common column is Activity)

Pragati11_1-1646317836791.png

Once you hit OK a new table is created and then just expand the icon as in the screenshot below to get columns from second table:

Pragati11_2-1646317917464.png

 

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

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

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.