Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Merge tables without a join, placing new column data side by side?

How do you efficiently append a column from one table to another without a join on common fields?   I have two tables with an arbitrary number of columns, all uniquely named, all with data, and all...
  • v-eachen-msft's avatar
    6 years ago

    Hi Anonymous ,

     

    You could add an index column in Table 1 at first. Then refer to the following code:

    Table.AddColumn(#"Added Index", "Column Name", each #"Table 2"[Col5]{[Index]})

    Here is the file for your reference.