Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Power Query: How do I convert multiple rows to comma separated values, according to their IDs?

Hi everyone!

 

I have the following dataset:

IDColour
1Red
1Blue
1Green
1Yellow
2Red
2Blue
3Green

 

How can I transform it to the following, but it has to be in Power Query:

 

IDColours
1Red, Blue, Green, Yellow
2Red, Blue
3Green


Thank you!

5 Replies