Forum Discussion

laganlee's avatar
laganlee
Helper II
3 years ago
Solved

Group rows in one column by another column.

Hi

I want to convert this to two rows: 

 

 

So that it looks like this:

 

 

I've tried the usual 'group by' and pivoting, but I've got stuck!

I've also been experimenting with converting tables to lists and records..

 

Many thanks for looking.

 

  • Hi,

    Use Table.Group with Text.Combine

    = Table.Group(PrevStep, {"ID"}, {{"Values", each Text.Combine([Values],","), type text}})

     Stéphane

  • Many thanks Stéphane! 

    That is really much appreciated - that saved the day 😊

2 Replies

  • Hi,

    Use Table.Group with Text.Combine

    = Table.Group(PrevStep, {"ID"}, {{"Values", each Text.Combine([Values],","), type text}})

     Stéphane

  • Many thanks Stéphane! 

    That is really much appreciated - that saved the day 😊