model_update_measure
Replace or create a measure in an existing TMDL table within a Power BI Project (.pbip) folder. Specify the measure name, expression, and optional format string.
Instructions
Replace or create a measure on an existing TMDL table.
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": {
"projectPath": "<projectPath>",
"tableName": "<tableName>",
"measureName": "<measureName>",
"expression": "<expression>"
},
"name": "model_update_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | ||
| tableName | Yes | ||
| measureName | Yes | ||
| expression | Yes | ||
| formatString | No | ||
| dryRun | No |