Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Transpose variable rows in Column

Hi Team,

First of all, thanks for what you are doing.

 

I have a neewbie issue with Power Query :

i have this table : 

ClientContract
CLI001CTR001
CLI001CTR002
CLI001CTR003
CLI001CTR004
CLI001CTR005
CLI002CTR012
CLI002CTR013
CLI003CTR003
CLI003CTR004

 

and i would like to aggregate by Client and have this :

ClientContract
CLI001CTR001, CTR002, CTR003, CTR004, CTR005
CLI002CTR012, CTR013
CLI003CTR003, CTR004

 

i tried with transpose function, divided function but it's not working.

 

Do you have an idea how we could do that?

 

Thanks a lot for your help

Br

Marcolen 

1 REPLY 1
jgordon11
Resolver II
Resolver II

= Table.Group(Source, {"Client"}, {{"Contract", each Text.Combine(_[Contract], ", ")}})

 

Change Source to the appropriate step name

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.