update_measure
Change an existing DAX measure in a semantic model: update its formula, format string, description, hidden status, or rename it.
Instructions
Update an existing DAX measure in a semantic model.
Args:
measure_name: Current name of the measure to update
workspace: Name or ID of the workspace (optional)
model: Name or ID of the semantic model (optional)
dax_expression: New DAX formula (optional)
format_string: New display format string (optional)
description: New description (optional)
is_hidden: New hidden status (optional)
new_name: New name for the measure (optional)
ctx: Context object containing client information
Returns:
A dictionary containing success status and the updated measure details.
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": {
"measure_name": "<measure_name>"
},
"name": "update_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| new_name | No | ||
| is_hidden | No | ||
| workspace | No | ||
| description | No | ||
| measure_name | Yes | ||
| format_string | No | ||
| dax_expression | No |