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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
olivort
New Member

Power query - table aggregation in text format

Hello,

 

I have merged two query and try to expand the table by agregating text. The table to expand has several columns that i want to expand into one

More practically, I have achieved to aggregate the text by column, with a delimiter

olivort_1-1633014088358.png

 

What i try to achieve is:

11 My first req, 3 My third req
21 My firs req, 2 My second req, ...
... 

 

so combining multiple column when aggregatin.

 

Is there a formula to achieve that, or i need first to create another table with merged cell before merging both tables.

 

kr

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @olivort 

 

I am not sure how you get here, so maybe you can do it before it comes to these 2 columns. From what you have now, here is one way

 

Text.Combine( List.Transform( List.Zip({Text.Split([Column2],","),Text.Split([Column3],",")}), each Text.Combine(_, " ")),", ")

 

Vera_33_0-1633067953823.png

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @olivort 

 

I am not sure how you get here, so maybe you can do it before it comes to these 2 columns. From what you have now, here is one way

 

Text.Combine( List.Transform( List.Zip({Text.Split([Column2],","),Text.Split([Column3],",")}), each Text.Combine(_, " ")),", ")

 

Vera_33_0-1633067953823.png

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.