sort_column_by
Avoid alphabetical ordering in Power BI visuals by sorting a column with a dedicated sort column (e.g., Month by MonthSort) to enforce chronological or logical order.
Instructions
Sort a column by another column (e.g. Month by MonthSort) so visuals order chronologically/logically instead of alphabetically.
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>",
"column": "<column>",
"sortByColumn": "<sortByColumn>"
},
"name": "sort_column_by"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| column | Yes | ||
| sessionId | Yes | ||
| sortByColumn | Yes | column to sort by |