Forum Discussion

kevin_allen's avatar
kevin_allen
Frequent Visitor
3 years ago
Solved

Can steps be eliminated?

I have created the following steps in Power Query for one column but need to replicate these steps on 4 additional columns.  Is there a way to combine any of these steps?  This is a duration value(in...
  • wdx223_Daniel's avatar
    3 years ago

    replace all of those steps in one as this

    NewStep=Table.TransformColumns(#"Renamed Columns",{"InstallTimeEa",each List.Sum(List.Transform(List.Zip({Text.Split(_,":"),{1,60,3600}}),each Number.From(_{0})/_{1}))})