Forum Discussion
SaaM
5 years agoHelper II
expand multiple columns at once
Hi Is it possible to expand for all the columns Grouped_1 and Grouped_2 at once (example in picture)? When trying to do it column by column it is too slow. (In my final structure i will have 10 gr...
- Anonymous5 years ago
potresti provare qualcosa del genere ...
listGrouped=List.Select(Table.ColumnNames(yourab), each ----),
namesColGroupX=[groupe_1={"c11", ---}, groupe_2={"c21", ---}, ...],
List.Accumulate(listGrouped, yourtab, (s,c)=>Table.ExpandTableColumn(s,c, Record.Filed(namesColGroupX,c)))
Anonymous
5 years agoNot applicable
potresti provare qualcosa del genere ...
listGrouped=List.Select(Table.ColumnNames(yourab), each ----),
namesColGroupX=[groupe_1={"c11", ---}, groupe_2={"c21", ---}, ...],
List.Accumulate(listGrouped, yourtab, (s,c)=>Table.ExpandTableColumn(s,c, Record.Filed(namesColGroupX,c)))