add_slicer
Add a slicer to a Power BI report page for one column or measure. Choose between Dropdown, List, or range modes for numeric/date filters.
Instructions
Add a slicer for one column or measure. Defaults to a compact Dropdown (what users almost always want); pass mode=List for the classic vertical list, Between/Single for numeric/date ranges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| kind | No | column|measure | column |
| mode | No | Dropdown|List|Between|Single | Dropdown |
| field | Yes | ||
| table | Yes | ||
| title | No | ||
| width | No | ||
| height | No | ||
| pageName | Yes | ||
| reportSessionId | Yes |