Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Calculating Min date and Max date from multiple date columns for each row in Power query.

Finding Min(Start) date and Max(End) for below sample data- For each Row. Some of the dates will be blank as well   NPI Program P/n count est Mfg Facility Location Launch GW1  GW2 GW3 PD1...
  • BA_Pete's avatar
    4 years ago

    Hi Anonymous ,

     

    Try these calculations in new custom columns:

     

    // Start Date
    List.Min({[Launch], [GW1], [GW2], [GW3]... })
    
    // End Date
    List.Max({[Launch], [GW1], [GW2], [GW3]... })

     

    Pete