pbi_search_slicer
Search and filter slicer items in Power BI by typing a query into the slicer search box, optionally clicking a matching result, and returning the filtered matches.
Instructions
Type into a slicer's search box and (optionally) click the matching result. Focuses the box IN-PAGE and ABORTS (searched:false) if focus does not land on it — never sends keystrokes to the canvas (a mis-focused select-all+delete once removed all page visuals). Clears via the input's own value, types query, polls for filtered .slicerItemContainer items, returns them as matches. With pick, clicks the item equalling (then including) pick. Returns {searched, picked, pickedLabel?, matches} or {searched:false, reason}. Mutates a filter when pick clicks — restore after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pick | No | ||
| query | Yes | ||
| container | No |