Set Visual Sort
pbir_set_visual_sortSet the sort order of a visual in a Power BI report, overriding auto-sort. Specify fields as Table[Column] with priority and direction.
Instructions
Set the sort order of a visual. Overrides the auto-sort. Use Table[Column] for field refs.
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": {
"visualId": "<visualId>",
"sort": "<sort>"
},
"name": "pbir_set_visual_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | Yes | Priority order | |
| pageId | No | Page ID. Auto-resolved when only one page exists. | |
| visualId | Yes | The visual ID | |
| isDefaultSort | No | true=user can override |