Forum Discussion

coathangers's avatar
coathangers
Frequent Visitor
5 years ago
Solved

Group by with Text.Combine+List.Transform

Hi,   I am trying to concatenate rows using Tables.Group and Text.Combine+List.Transform. I want to sort the order so that the rows are concatenated alphabetically (Power Bi is doing this reverse a...
  • coathangers's avatar
    coathangers
    5 years ago

    I found the solution here:

     

    PowerQuery order of words in Text.Combine - Stack Overflow

     

    We first need to override the Power BI internal sort using Table.Buffer and then sort by Console ascending and Game ascending.

     

    The Text.Combine has no means of sorting, this Table.Buffer needs to be a previous step in the query.