Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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"]})