Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Select Columns using existing data and Create a new table

I have the following data with me already. 

 

Table 1 Consists of Column A , Column B , Column C

Table 2 Consists of Column D , Column E

 

Now i want to create a new table as 

 

Table 3 Consists of Column A , Column D. 

 

Note: Column A is of data type Text and Column D is of Data type Decimal Number. 

 

Any help, suggestion on this will be of great help

  • Hi Anonymous ,

     

    At first, you need to add an index column( start from 0 ) in the first table.

    Then add a custom column like the following codes:

    =Table.AddColumn(#"Added Index", "Column4", each TableB{[Index]}[Column4])

     

2 Replies