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