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