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