pbi_patch_tmdl_measure
Add or update a DAX measure in a Power BI table TMDL file, including expression, format string, and display folder.
Instructions
Create or replace a measure block in one table TMDL file.
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": {
"project_path": "<project_path>",
"table_file": "<table_file>",
"measure_name": "<measure_name>",
"expression": "<expression>"
},
"name": "pbi_patch_tmdl_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| expression | Yes | ||
| table_file | Yes | ||
| measure_name | Yes | ||
| project_path | Yes | ||
| format_string | No | ||
| display_folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |