cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
laganlee
Helper II
Helper II

Group rows in one column by another column.

Hi

I want to convert this to two rows: 

laganlee_1-1685459717210.png

 

 

So that it looks like this:

 

laganlee_3-1685459828381.png

 

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.

 

2 ACCEPTED SOLUTIONS
slorin
Super User
Super User

Hi,

Use Table.Group with Text.Combine

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

 Stéphane

View solution in original post

laganlee
Helper II
Helper II

Many thanks Stéphane! 

That is really much appreciated - that saved the day 😊

View solution in original post

2 REPLIES 2
laganlee
Helper II
Helper II

Many thanks Stéphane! 

That is really much appreciated - that saved the day 😊

slorin
Super User
Super User

Hi,

Use Table.Group with Text.Combine

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

 Stéphane

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.