Forum Discussion
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.
Hi Anonymous ,
You can use MERGE QUERIES option in Power Query editor to achive this:
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)
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:
1 Reply
- Pragati11
Super User
Hi Anonymous ,
You can use MERGE QUERIES option in Power Query editor to achive this:
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)
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: