Forum Discussion
Dicko
4 years agoHelper II
Combine text from multiple columns in Power Query
Here's a table with the results I seek: col_1 col_2 result ape bee ape,bee house street house,street Now I have something like this (see below), where I collect eac...
- 4 years ago
Try this as the next step:
= Table.AddColumn(#"Merged Columns", "Custom", (r) => Text.Combine(List.Transform(MyColumns, each Record.Field(r, _)), ","), type text)This turns the list of columns into the values in those columns and concatenates the list with Text.Combine.
AlexisOlson
4 years agoSuper User
Try this as the next step:
= Table.AddColumn(#"Merged Columns", "Custom",
(r) => Text.Combine(List.Transform(MyColumns, each Record.Field(r, _)), ","),
type text)
This turns the list of columns into the values in those columns and concatenates the list with Text.Combine.
SebSchoon1
4 years agoPost Patron
Wow Thanks it works perfectly !! Thank you mate!