Help the sales manager explore sales data by filtering products, regions, and sales dates using slicers.
Slicers (list, dropdown, between) in Power BI - Dashboard Guide
| OrderID | Product | Region | SalesDate | SalesAmount |
|---|---|---|---|---|
| 1001 | Chair | East | 2024-01-15 | 250 |
| 1002 | Table | West | 2024-02-20 | 450 |
| 1003 | Desk | East | 2024-03-05 | 300 |
| 1004 | Chair | South | 2024-01-25 | 200 |
| 1005 | Table | North | 2024-02-10 | 500 |
| 1006 | Desk | West | 2024-03-15 | 350 |
| 1007 | Chair | North | 2024-01-30 | 275 |
| 1008 | Table | South | 2024-02-25 | 400 |
- KPI Card: Total Sales Amount
Formula:Total Sales = SUM(Sales[SalesAmount])
Shows the sum of sales filtered by slicers. - Bar Chart: Sales by Product
Shows total sales amount for each product, filtered by slicers. - Table: Sales Details
Shows OrderID, Product, Region, SalesDate, and SalesAmount filtered by slicers. - Slicer (List): Product
Allows selecting one or multiple products to filter all visuals. - Slicer (Dropdown): Region
Allows selecting one region from a dropdown to filter all visuals. - Slicer (Between): SalesDate
Allows selecting a date range to filter all visuals.
+--------------------------------------------------+ | Product Slicer (List) | Region Slicer (Dropdown) | |------------------------|--------------------------| | SalesDate Slicer (Between) | +--------------------------------------------------+ | Total Sales KPI Card | +--------------------------------------------------+ | Bar Chart: Sales by Product | +--------------------------------------------------+ | Table: Sales Details | +--------------------------------------------------+
All slicers filter the KPI card, bar chart, and sales details table simultaneously.
- Product Slicer (List): Selecting products filters data to only those products.
- Region Slicer (Dropdown): Selecting a region filters data to that region only.
- SalesDate Slicer (Between): Selecting a date range filters data to sales within those dates.
Changing any slicer updates all visuals instantly, helping explore sales by different slices.
Try this: Add a filter selecting Product = Chair and Region = East with SalesDate between 2024-01-01 and 2024-01-31.
Question: Which rows remain in the sales details table and what is the total sales amount shown in the KPI card?
Answer: Only OrderID 1001 remains (Product: Chair, Region: East, SalesDate: 2024-01-15, SalesAmount: 250). Total Sales KPI shows 250.
Practice
What is the main purpose of a slicer in Power BI?
Solution
Step 1: Understand slicer functionality
Slicers are visual tools that let users filter data on reports easily by selecting values.Step 2: Compare options to slicer purpose
Only To filter report data visually and interactively describes filtering data visually and interactively, which matches slicer use.Final Answer:
To filter report data visually and interactively -> Option DQuick Check:
Slicer = Visual filter [OK]
- Confusing slicers with data import tools
- Thinking slicers create calculations
- Assuming slicers write DAX formulas
Which slicer type should you use to let users select a range of dates?
Solution
Step 1: Identify slicer types for date ranges
Between slicers allow users to pick a start and end value, ideal for date or numeric ranges.Step 2: Eliminate other slicer types
List and dropdown slicers select single or multiple discrete values, not ranges. Checkbox slicer is not a standard type.Final Answer:
Between slicer -> Option AQuick Check:
Date range = Between slicer [OK]
- Choosing list or dropdown for ranges
- Confusing checkbox slicer with dropdown
- Not knowing between slicer exists
Given a dropdown slicer on a "Category" column with values: "A", "B", "C", what happens if the user selects "B"?
Solution
Step 1: Understand dropdown slicer behavior
Dropdown slicers filter the report to show only the selected value(s) from the column.Step 2: Apply selection "B" to filter
Selecting "B" filters the data to rows where Category equals "B" only.Final Answer:
The report filters to show only rows where Category = "B" -> Option CQuick Check:
Dropdown slicer selection = Filtered data [OK]
- Thinking it excludes selected value
- Assuming it filters blanks
- Believing dropdown slicers can't filter text
You created a between slicer on a numeric "Sales" column but it shows no slider or range. What is the likely problem?
Solution
Step 1: Check data type for between slicer
Between slicers require numeric or date data types to show a range slider.Step 2: Identify issue with "Sales" column
If "Sales" is text, the slicer cannot create a numeric range slider, causing no slider to appear.Final Answer:
The "Sales" column is stored as text, not numeric -> Option BQuick Check:
Between slicer needs numeric/date type [OK]
- Assuming between slicers only work on dates
- Not verifying slicer type setting
- Ignoring data type mismatch
You want users to select multiple product categories but keep the slicer compact in the report. Which slicer type and setting should you choose?
Solution
Step 1: Understand slicer types for multi-select and compactness
Dropdown slicers take less space than list slicers and support multi-select when single select is off.Step 2: Evaluate options for multi-select and compactness
List slicers with multi-select are larger; between slicers don't apply to categories; single select disables multi-select.Final Answer:
Dropdown slicer with multi-select enabled and single select off -> Option AQuick Check:
Compact multi-select = Dropdown slicer [OK]
- Choosing list slicer for compactness
- Using between slicer on text categories
- Enabling single select disables multi-select
Ready to prove it?
Pass the test and this pattern moves unknown
