set_filter_restatement
Rename a Power BI filter card's label and set its hide/lock options for a specific visual, page, or report by matching the table and field.
Instructions
Set a filter card's RESTATEMENT (custom display label) and/or its lock/hide flags on a matching filter (by table[field]) at a scope=visual|page|report. displayName overrides the card's auto label; isHiddenInViewMode / isLockedInViewMode toggle hide/lock. For scope=visual pass page+visual; scope=page pass page.
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": {
"reportSessionId": "<reportSessionId>",
"scope": "<scope>",
"table": "<table>",
"field": "<field>"
},
"name": "set_filter_restatement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | page (scope=visual|page) | |
| field | Yes | the field to match | |
| scope | Yes | visual | page | report | |
| table | Yes | table that owns the filter field | |
| visual | No | visual (scope=visual) | |
| displayName | No | custom card label (the restatement) | |
| reportSessionId | Yes | ||
| isHiddenInViewMode | No | hide the card in view mode | |
| isLockedInViewMode | No | lock the card in view mode |