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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors