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.
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 |