rename_measure
Rename a Power BI measure atomically across TMDL declarations, DAX formulas, and report visuals, with optional dry-run change planning and post-write validation.
Instructions
Atomically rename a measure across TMDL declarations, DAX formulas, and report visuals.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | When true, return the proposed ChangePlan without modifying files. Defaults to true. Set false to execute the write with post-write validation. | |
| new_name | Yes | New measure name. | |
| old_name | Yes | Existing measure name. | |
| workspace | No | Workspace identifier returned by list_workspaces (prefer workspace_id or unique name). Optional when the server is bound to a single workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||