Welcome to our in-depth tutorial on creating a slicer panel in Power BI! In this guide, we will explore how to build and optimize your slicer panel to enhance the user experience and streamline your reports. Slicer panels are essential tools that allow users to filter data effectively while maintaining a clean and organized report. Let’s dive in!
Why Use a Slicer Panel?
Slicer panels serve a crucial function in Power BI reports. They allow you to show or hide slicers, freeing up space and creating a cleaner layout. This is particularly useful when you want to maintain an uncluttered dashboard while still providing essential filtering options for your users.
Before we get started, consider whether you need a slicer panel or if a filter pane will suffice. Sometimes, having a couple of slicers directly on your report is more beneficial as they can be more relevant to your users. Additionally, you might want to utilize visual-level filters where slicer selections can dynamically change based on user interactions.
Creating Your Slicer Panel
Let’s jump into the practical steps of creating a slicer panel in Power BI. I have a report ready with some visuals, and we will start by adding slicers to it.

First, we need to add a slicer. Go to the calendar section, drag it to an empty spot on the canvas, and ensure it’s not overlapping with any other visuals. Select the drop-down option and change it to a list view. Adjust its positioning to where the slicer panel will be located.
Next, we’ll enhance the appearance of the slicer. Modify the formatting by increasing the font size and changing the font color to black for better visibility.
Now, to improve the layout, we will add a shape behind the slicer. A rectangle shape works best for this purpose. Remember, I’m using a theme for consistency, which automatically applies colors. If you aren’t using a theme, you can adjust the color formatting manually.
Adjusting the Layer Order
To ensure that our slicer is visible, we need to adjust the Z-order. Navigate to the view tab and open the selection pane. Here, you can reorder layers to bring the rectangle behind the slicer to the front.

Once the rectangle is positioned correctly, rename the items in the selection panel for clarity. This will help keep your workspace organized.
Adding More Slicers
Let’s add another slicer for countries. Drag this slicer into the report, ensuring it’s not mixed with other elements. Again, use the format painter to quickly apply the same formatting from the first slicer to maintain consistency.

Now that we have two slicers, it’s time to add a button to toggle the visibility of our slicer panel. We can use a left arrow icon for this purpose. Resize and position it appropriately within the slicer panel.
Grouping Elements
To make management easier, let’s group our slicers, button, and rectangle together. Select all four elements, right-click, and choose the group option. We can name this group ‘Slicer Panel’. Now, all these elements will behave as a single unit, making it easier to manage them.

Creating Bookmarks
Next, we will create bookmarks to save the states of our slicer panel. Bookmarks are like snapshots of your current report state, allowing users to toggle between different views easily.
Create your first bookmark while the slicer panel is visible. Rename this bookmark to ‘Show Slicer Panel’. Make sure to uncheck the ‘Data’ option, so it doesn’t reset your slicer selections when switching views.

Now, let’s create a second bookmark to hide the slicer panel. Again, remember to uncheck the ‘Data’ option. With these two bookmarks, users can easily show or hide the slicer panel without losing their selections.
Linking Buttons to Bookmarks
Now it’s time to wire up our buttons to these bookmarks. Select the back button, navigate to the action settings, and set the type to ‘Bookmark’. Choose the bookmark that hides the slicer panel, and add a tooltip for better user experience.

In Power BI Desktop, hold down the control button while selecting the back button to ensure the action is registered. This will allow users to hide the slicer panel effectively.
Adding an Image for User Interaction
To enhance the user experience further, we can add an image, like a hamburger menu icon, to toggle the slicer panel’s visibility. Resize and position this image accordingly, then set its action to the bookmark that shows the slicer panel.

Now, when users click on the menu icon, the slicer panel will appear, and vice versa. This functionality creates a seamless interaction experience.
Final Thoughts on Slicer Panels
The grouping feature and bookmarks are game-changers for managing slicers in your Power BI reports. They not only enhance usability but also create a cleaner and more organized report layout. Remember, you can always explore additional resources to further enhance your Power BI skills, including expert-led training courses.
If you want to boost your data skills, consider checking out this Power BI training for expert-led guidance.


