dynamic_unpivot_other_columns
Unpivot all columns except those in the keep list, automatically including new attribute columns. Appends a Power Query M step to reshape the table.
Instructions
Dynamic Unpivot Other Columns: unpivot every column NOT in keepColumns, deriving the unpivot set from Table.ColumnNames at evaluation time so NEW attribute columns added later auto-unpivot. keepColumns is comma-separated. Appends one step to the table's M query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| sessionId | Yes | ||
| keepColumns | Yes | the columns to keep (not unpivot), comma-separated | |
| partitionName | No | partition name (optional; defaults to the first partition) |