Forum Discussion
sysmod
4 years agoNew Member
Create a table where each row summarises column data from another table
I have a function that accepts a table and a column name and returns some information on that column. I currently return a list but it could be a record [value1=v1, value2=v2, .... ]either if that wa...
wdx223_Daniel
4 years agoCommunity Champion
fn=(tbl,col)=>#table(Table.ColumnNames(tbl),{List.Transform(col,each List.Sum(Table.Column(tbl,_)))}