Forum Discussion

xieofxie's avatar
xieofxie
Frequent Visitor
6 years ago
Solved

preserve order when using Table.Group

As documented, Table.Group "cannot guarantee to return a fixed order of rows". While this is bad for sorted data when used with Text.Combine. For example, the following is sorted by Time first and I would like to group by Id while Combine Text in order.

IdTimeText
112:00abc
113:00def
214:00ghi

Another approach would be to create a new column with Time and Text as Table first, then save it as list when grouping, and finally reorder the list according to Time. But it is too complex.

Any ideas? Thanks~

 

 

4 Replies