Forum Discussion
Hashiru
Helper I
6 years agoConvert a Column of Tables (After Merge Query Step) to a Column of list
Hi everyone, I am trying to convert a column of tables on each row to a column of list on each row. I will like to convert Time & Labor Column to List or add another column and co...
Anonymous
6 years agoNot applicable
You can transform the Time & Labor column with M code to the sum of the OU Num filtered on WR,WO and WD. The code below presumes that the prior step is called Merged Queries (change it as needed).
= Table.TransformColumns(#"Merged Queries",{{"Time & Labor", each List.Sum(Table.SelectRows(_, each List.Contains({"WR","WO","WD"},[TRC Status] ))[OU Num]), type number}})