Forum Discussion

Beyondforce's avatar
Beyondforce
Helper I
9 years ago
Solved

Combining Tables with extra columns!

Hey All,   I'm going get a data (CSV files) from a folder (Folder connection). In that folder, I have old files and new files with extra column like in the picture. In the new files I have n...
  • v-huizhn-msft's avatar
    9 years ago

    Hi Beyondforce,

    As I test, please click Edit Query and open the Query Editor as follows.



    1. How do I import all the files into a new table with the extra columns?

    Please select the Date field and click Date buttom(highlighted in red line) under Add colum above, add the year, month and day columns.



    2. After the import, how do I extract the Year, Month and Day from the old files date into the right columns?

    You can select the column and drag it left or right to correct position. 

    3 Can the above be done at the same time?

    Drag the column position, to confirm your column order of new table and older table are same. Then you can append them together. More details, please refer to this blog.

    Best Regards,
    Angelia