Forum Discussion
Ocasio27
Aug 07, 2020Iron Contributor
How to consolidate repeated records on a table
I have 2 tables, I would like to convert, left to right in this example. Only way I have done it is by using a lot of steps on Power Query which slows down my computer and often crashed (original fil...
- Aug 10, 2020
The easiest way is with Power Query - query the source, group by ID using function as here for aggregation
let Source = Excel.CurrentWorkbook(){[Name="tblSource"]}[Content], #"Grouped Rows" = Table.Group(Source, {"ID"}, { {"Locations", each Text.Combine(_[Location]," + ")} } ) in #"Grouped Rows"
Result is like
Abiola1
Aug 07, 2020MVP
Hello,
Kindly make me understand what you me by "I want to convert left table to right table"
I believe Flash Fill "will" do what you wanna achieve... Just need for more explanation based on the sample provided
Kindly make me understand what you me by "I want to convert left table to right table"
I believe Flash Fill "will" do what you wanna achieve... Just need for more explanation based on the sample provided
- Ocasio27Aug 07, 2020Iron Contributor
These are 2 tables, one is column A and B, the other is column D and E. I want to convert table 1 to table 2
- SergeiBaklanAug 10, 2020Diamond Contributor
The easiest way is with Power Query - query the source, group by ID using function as here for aggregation
let Source = Excel.CurrentWorkbook(){[Name="tblSource"]}[Content], #"Grouped Rows" = Table.Group(Source, {"ID"}, { {"Locations", each Text.Combine(_[Location]," + ")} } ) in #"Grouped Rows"
Result is like