π§² Module 5: Filters and Slicers β Make Your Reports Interactive
Filters and slicers are powerful tools that bring interactivity to Power BI dashboards. They let users control what data is shown across visuals without editing the report structure.
π What Are Filters and Slicers?
- Filters allow report designers to restrict data at various levels (report/page/visual)
- Slicers are visual elements that allow users to dynamically filter data by clicking buttons or selecting values
π‘ Tip: Use filters to design the experience and slicers to give users control.
π Types of Filters in Power BI
- Report-level filters β apply to all pages
- Page-level filters β apply only to one report page
- Visual-level filters β apply to one specific visual
How to add:
- Click a visual or report page
- In the Filters pane (right side), drag a field into the appropriate filter bucket
- Set filter logic (equals, contains, is blank, greater than, etc.)
Use Case: Filter all visuals on a sales report to only show “Current Year” data at the report level.
ποΈ Creating a Slicer
Slicers are a user-friendly way to let readers control what they see β for example, filter by Region, Date, or Product Category.
- Click on the Slicer visual from the Visualizations pane
- Drag a field like
Region
,Date
, orProduct Type
into the slicer - Resize or reposition it like any other visual
Slicer Types:
- List β Shows all values as clickable items
- Dropdown β Compact form with dropdown
- Between β Useful for date or numeric ranges
- Relative β e.g., “Last 7 Days”, “Next 3 Months”
π Select Multiple Values in a Slicer
- Use Ctrl + Click to select multiple options in a list slicer
- Or turn on the βMulti-select with Ctrlβ option in the Format pane β Selection Controls
- You can also enable βSelect Allβ to let users clear slicer easily
π‘ Example: Let users select multiple product categories to filter all visuals (e.g., show only βElectronicsβ and βClothingβ revenue).
π Set a Chart to Respond to a Slicer
By default, slicers affect all visuals on the page that share a relationship with the sliced field.
- If a slicer is not filtering a chart, check the data model relationships
- Use Visual Interactions (Format tab β Edit Interactions) to control which visuals respond to which slicers
Use Case: Allow users to filter by Year using a slicer, but prevent it from affecting a static pie chart that always shows overall totals.
π§ Advanced Slicer Techniques
- Hierarchical Slicers: Add multiple fields (e.g., Category β Subcategory)
- Sync Slicers: Use a slicer across multiple pages (View β Sync Slicers)
- Bookmarks: Use buttons + slicers to toggle between views
- DAX Slicers: Use calculated tables to build custom slicers (e.g., βTop 5 Productsβ)
π Summary: Filters vs. Slicers
Feature | Filters | Slicers |
---|---|---|
Purpose | Control data behind the scenes | Interactive user-driven filtering |
Location | Sidebar (non-visual) | On-page visual element |
Visibility | Not visible to users | Visible and interactive |
Performance | Efficient for large data | Best for interactivity |
π― Bottom Line: Use filters to structure data logic and slicers to empower users. Together, they make Power BI reports dynamic, flexible, and user-driven.