set_calc_item_ordinal
Define the display order of a calculation item within a Power BI calculation group using an ordinal value, where lower values appear first.
Instructions
Set a calculation item's Ordinal - its display/sort order within the calculation group (lower shows first).
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>",
"itemName": "<itemName>",
"ordinal": "<ordinal>"
},
"name": "set_calc_item_ordinal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | the calculation-group table | |
| ordinal | Yes | display order ordinal (lower first) | |
| itemName | Yes | the calculation item name | |
| sessionId | Yes |