add_page_filter
Apply a page-level filter to all visuals in a Power BI report, using categorical value lists or comparison operators on columns and measures.
Instructions
Add a PAGE-level filter (filters every visual on that page). kind=categorical writes an 'is one of' values filter (pass values, comma-separated or a JSON array); any other kind writes a comparison/blank filter (op = gt|gte|lt|lte|eq|ne|isblank|isnotblank) on a column or measure (fieldKind=column|measure). valueType=int|decimal|string for the values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | comparison op: gt|gte|lt|lte|eq|ne|isblank|isnotblank | |
| kind | No | categorical (values list) | comparison | categorical |
| page | Yes | page name or displayName | |
| field | Yes | field (column or measure) to filter on | |
| table | Yes | table that owns the filter field | |
| values | No | categorical values (comma-separated or JSON array); or a single comparison value | |
| fieldKind | No | for a comparison filter: column|measure | column |
| valueType | No | int|decimal|string | string |
| reportSessionId | Yes |