duplicate_column
Duplicates a column in a Power BI table under a new name by adding a Power Query step. Specify the table, column, and new name to copy the data.
Instructions
Power Query Duplicate Column: copy a column under a new name. Appends Table.DuplicateColumn to the table's M query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| column | Yes | the column to duplicate | |
| newName | Yes | the new (duplicate) column name | |
| sessionId | Yes | ||
| partitionName | No | partition name (optional; defaults to the first partition) |