update_calendar
Update a Power BI table's calendar definition by setting a new primary date column or replacing associated period columns, with validation against the table.
Instructions
Update a table's calendar definition: change the primary date column and/or replace the associated period-column group (columns are validated against the table). FLAG: stamped as the PBI_Calendar table annotation (the Wave R convention) because the native calendar TOM objects are absent from this build.
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>"
},
"name": "update_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | the calendar table | |
| sessionId | Yes | ||
| primaryColumn | No | new primary date column (optional) | |
| associatedColumns | No | replacement associated period columns, comma-separated (optional) |