update_kpi
Update a measure's KPI with trend expression, target format, and status/trend/target descriptions. Creates the KPI if missing; omitted properties left unchanged.
Instructions
Extend a measure's KPI beyond set_kpi: set the trend expression, a target format string, and the status/trend/target descriptions. Creates the KPI if the measure has none. Any omitted property is left unchanged.
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": {
"sessionId": "<sessionId>",
"table": "<table>",
"measure": "<measure>"
},
"name": "update_kpi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| measure | Yes | ||
| sessionId | Yes | ||
| trendExpression | No | DAX trend expression (e.g. prior-period value) | |
| trendDescription | No | trend description text | |
| statusDescription | No | status description text | |
| targetDescription | No | target description text | |
| targetFormatString | No | format string applied to the KPI target |