19. Bookmarks, Selection Pane, Buttons and Navigation
19.6 Pattern 3: Show/Hide Filter Panel
A popular design: slicers live in a panel that slides in when the user clicks a filter icon.
Steps in Power BI
- Insert a rectangle (Insert › Shapes › Rectangle) on the left, white with a shadow. Rename it Panel_Bg.
- Put slicers on it: Platform, City, Category, Date. Add a close button (Insert › Buttons › Blank with an ✕ icon) Btn_Close.
- Select the rectangle, slicers and close button › Ctrl + G to group them › rename the group Panel_Filters.
- Add a filter icon button Btn_Open (Insert › Buttons › Blank › Icon: Filter or an image).
- Selection pane: show Panel_Filters › Add bookmark Panel – Open. Hide Panel_Filters › Add bookmark Panel – Closed.
- For both bookmarks: untick Data, choose Selected visuals (select the group before Update).
- Btn_Open action → Bookmark Panel – Open; Btn_Close action → Bookmark Panel – Closed.
- Leave the page with the panel hidden. Slicers still filter the page even when hidden.
Ravindra Bagale's Tip
Friends, remember: the show/hide filter panel often breaks because the panel's shapes and slicers aren't grouped, so some items stay visible. Group all panel objects in the Selection pane and hide or show the group in the bookmark. Remember this rule.
Ravindra Bagale's Tip – मराठी
मित्रांनो, लक्षात ठेवा: show/hide filter panel बऱ्याचदा बिघडतो कारण panel चे shapes आणि slicers group केलेले नसतात, त्यामुळे काही items दिसतच राहतात. Selection pane मध्ये panel चे सगळे objects group करा आणि bookmark मध्ये तो group hide किंवा show करा. हा नियम लक्षात ठेवा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, याद रखो: show/hide filter panel अक्सर बिगड़ जाता है क्योंकि panel के shapes और slicers group नहीं होते, जिससे कुछ items दिखते रहते हैं. Selection pane में panel के सभी objects को group करो और bookmark में उस group को hide या show करो. यह नियम याद रखो.