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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.