concatenate_with_group_by
Combine text values from a specified column into one delimited string per group, using key columns for grouping. Reverses split-to-rows by collapsing grouped text into a single field.
Instructions
Concatenate text within groups: Table.Group + Text.Combine (the inverse of split-to-rows). Collapses each group's textColumn values into one delimited string. keys is comma-separated; delimiter defaults to ", ". Appends one step to the table's M query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | the grouping key columns, comma-separated | |
| table | Yes | ||
| delimiter | No | delimiter between values (default ", ") | |
| sessionId | Yes | ||
| textColumn | Yes | the text column to concatenate within each group | |
| outputColumn | No | output column name (default "<textColumn> Concatenated") | |
| partitionName | No | partition name (optional; defaults to the first partition) |