Forum Discussion

Pioneer's avatar
Pioneer
Regular Visitor
3 years ago
Solved

How to combine two columns dates into one column

Hi, How to combine two dates columns of a table  into one  new column .please check below sample data for reference.     expecting output:   Sample excelreport: In_Date         ...
  • v-zhangti's avatar
    v-zhangti
    3 years ago

    Hi, Pioneer 

     

    This can only be done in Power Query.

    Copy two more tables, delete one of the columns from each table, change the column names to [In and Out date] and use Append.

    Select Remove duplicates.

    Join the initial table and the Append table to the right.

    Result:

    Click in the top right corner to expand.

    Is this the result you expect?

    Best Regards,

    Community Support Team _Charlotte

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.