Forum Discussion

sunah132's avatar
sunah132
Icon for Helper I rankHelper I
5 years ago
Solved

Consolidate multiple columns into one column

Hello, I'm currently working in import data and trying to know how I can consolidate columns into one.

There're some columns with truck delivery date, shipping delivery date, packing delivery date, and delivery date. They all have date values so I wanted to combine them into one delivery date column.

Could you please see how this should work?

Thank you.

  • sunah132 try this to add a new column:

     

    Delivery Date = 
    COALESCE ( 
    Table[Delivery Date], 
    Table[Shipping Delivery Date],
    Table[Packing Delivery Date], 
    Table[Truck Delivery Date]
    )
    

     

    Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    ⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡

3 Replies