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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Amar-Agnihotri
Resolver I
Resolver I

Copy column from one table to another table in power query in Power BI

I have 2 tables Table1 and Table2. In both the table there is no common column so that I could merge them . I created an index in both the tables. Now on the basis of index from table1 I want to copy a column to table2 so that i could perform merge operation on this column. The issue is how to copy column from table1 to table2 using power query ?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

There's a menu item for that. Merge or Merge as new.

View solution in original post

6 REPLIES 6
v-kelly-msft
Community Support
Community Support

Hi  @Amar-Agnihotri ,

 

Can you directly merge the 2 tables by index columns?

vkellymsft_0-1628492401084.png

And you will see:

vkellymsft_1-1628492431789.png

You could check my sample .pbix file attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

lbendlin
Super User
Super User

There's a menu item for that. Merge or Merge as new.

What if you only want to copy just 1 column from table 1 to table 2, how would you do that please?

Hi @tkconsultingnl 

What i understand is that you want to pick one column from two different tables and then want to create two new tables with only having that single column . Is it correct ?

Yes exactly.

Are these two columns from two different tables having same kind of data ?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors