transform_all_column_names
Bulk-transform all column names in a Power BI table with one M query step. Choose from snake-to-space, upper, lower, trim, prefix, or camel-split.
Instructions
Bulk-transform every column NAME with Table.TransformColumnNames (schema-agnostic). transform = snakeToSpace | toUpper | toLower | trim | prefix (needs arg) | camelSplit (insert a space before each interior capital). Appends one step to the table's M query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arg | No | the prefix text (only for transform=prefix) | |
| table | Yes | ||
| sessionId | Yes | ||
| transform | Yes | snakeToSpace | toUpper | toLower | trim | prefix | camelSplit | |
| partitionName | No | partition name (optional; defaults to the first partition) |