Power Query: Combine rows into a single cell with Text.Combine

Опубликовано: 06 Октябрь 2024
на канале: Excel On Fire (Oz du Soleil)
44,757
1.1k

A question came in from someone who wanted to know how to merge rows of data into a single cell.



Imagine you have a person's name in one column and then details about the person on multiple rows; and then another name and details about that person; and so on ...


Now you'd like to merge each person's details so that each person and their respective details are on a single row with their details in a single cell/column.


To do this, I show Power Query and the Text.Combine function.



This video also demonstrates my example of building a small model so that we can focus on the solution and not a massive amount of our real data.


#Text.Combine

#PowerQuery
#Grouping



For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
https://www.linkedin.com/learning/ins...


Website: http://ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
http://www.amazon.com/Guerrilla-Analy...

My old blog: http://datascopic.net/blog-2-2