Forum Discussion
phial-2
2 years agoFrequent Visitor
Adding a custom column to all tables in a structured column
I have a structured column of tables and I want to add a custom column to each of the tables in this structured column. The custom column would be simple if applied to each table (just the max va...
- 2 years ago
add a new step after your group-by step
NewStep=Table.Combine(Table.TransformColumns(YourGroupByStepName,{"TableColumnName",each Table.AddColumn(_,"MaxValue",(x)=>List.Max([ColumnName]))})[TableColumnName])
wdx223_Daniel
Community Champion
2 years agoadd a new step after your group-by step
NewStep=Table.Combine(Table.TransformColumns(YourGroupByStepName,{"TableColumnName",each Table.AddColumn(_,"MaxValue",(x)=>List.Max([ColumnName]))})[TableColumnName])
- phial-22 years agoFrequent Visitor
Brilliant, thanks!