remove_filter
Removes a matching filter from a Power BI report by table and field, at the visual, page, or report level. Specify scope to target the filter and get the count of removed filters.
Instructions
Remove a matching filter (by table[field]) at a given scope = visual|page|report. For scope=visual pass page+visual; for scope=page pass page; scope=report needs neither. Returns how many filters were removed.
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": "remove_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | page name (required for scope=visual|page) | |
| field | Yes | field to match | |
| scope | Yes | visual|page|report | |
| table | Yes | table that owns the filter field | |
| visual | No | visual name (required for scope=visual) | |
| reportSessionId | Yes |