Adding a slicer to Power BI
Slicers are a way to filter the data in your report. Slicers create a checkbox list of available values to limit the dataset. For commonly used filters, slicers are a great choice to enable users to easily interact and analyze data. In this recipe you will add a slicer tile to the report and use it to limit the data shown in the report.
Getting ready
Complete the steps in the recipe Adding additional visualizations to Power BI.
How to do it...
- Select an open area of the report canvas and then select the slicer icon from the bottom left under Visualizations:
- A new blank slicer will be added to the report page:
- To enable slicing by the manner of crash, select the Manner_of_Crash from the Manner_of_Crash table. The slicer will now be populated with all values from this field:
- Next select Rear-end as the manner of crash to filter the bar graph, the treemap, and the data table to only show data related to rear-end crashes:
- Rename the page to
Crash Overview
by double...