Table.CombineColumns
Syntax
Table.CombineColumns(table as table, sourceColumns as list, combiner as function, column as text) as table
About
Combines the specified columns into a new column using the specified combiner function.
Example 1
Combine the last and first names into a new column, separated by a comma.
Usage
Table.CombineColumns(
Table.FromRecords({[FirstName = "Bob", LastName = "Smith"]}),
{"LastName", "FirstName"},
Combiner.CombineTextByDelimiter(",", QuoteStyle.None),
"FullName"
)
Output
Table.FromRecords({[FullName = "Smith,Bob"]})
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for