reorder_columns
Reorder columns in Power Query tables by moving specified columns to the front, keeping the original order for the rest.
Instructions
Power Query Reorder Columns: move the listed columns to the front in the given order (remaining columns keep their relative order). Appends Table.ReorderColumns to the table's M query. order is comma-separated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | desired leading column order, comma-separated | |
| table | Yes | ||
| sessionId | Yes | ||
| partitionName | No | partition name (optional; defaults to the first partition) |