Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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"]})