Bird
Raised Fist0
Power BIbi_tool~10 mins

Slicers (list, dropdown, between) in Power BI - Cell-by-Cell Formula Trace

Choose your learning style10 modes available
Sample Data

Sales data by date for the first five days of January 2024.

CellValue
A1Date
B1Sales
A22024-01-01
B2100
A32024-01-02
B3150
A42024-01-03
B4200
A52024-01-04
B5130
A62024-01-05
B6170
Formula Trace
CALCULATE(SUM(Sales[Sales]), FILTER(Sales, Sales[Date] >= StartDate && Sales[Date] <= EndDate))
Step 1: Sales[Date] >= StartDate
Step 2: Sales[Date] <= EndDate
Step 3: FILTER(Sales, Sales[Date] >= StartDate && Sales[Date] <= EndDate)
Step 4: SUM(Sales[Sales]) on filtered rows
Step 5: CALCULATE(...)
Cell Reference Map
    A       B
1 | Date  | Sales |
2 | 2024-01-01 | 100 |
3 | 2024-01-02 | 150 |
4 | 2024-01-03 | 200 |
5 | 2024-01-04 | 130 |
6 | 2024-01-05 | 170 |

Slicer controls: StartDate and EndDate (user selects these to filter dates)
The formula uses the Date and Sales columns. The slicer inputs StartDate and EndDate filter the Date column to select rows.
Result
    A       B       C
1 | Date  | Sales | Filtered Sales Sum |
2 | 2024-01-01 | 100 |                   |
3 | 2024-01-02 | 150 |                   |
4 | 2024-01-03 | 200 |                   |
5 | 2024-01-04 | 130 |                   |
6 | 2024-01-05 | 170 |       750         |

(Assuming slicer selected dates from 2024-01-01 to 2024-01-05)
The final result shows the total sales sum filtered by the slicer date range. Here, all dates are included, so sum is 750.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the FILTER function do in the formula?
AAdds all sales values together
BSelects rows where the date is between StartDate and EndDate
CChanges the date format
DCreates a new column with sales data
Key Result
CALCULATE with FILTER applies slicer-selected conditions to sum values within a date range.

Practice

(1/5)
1.

What is the main purpose of a slicer in Power BI?

easy
A. To import data from external sources
B. To create calculated columns
C. To write DAX formulas
D. To filter report data visually and interactively

Solution

  1. Step 1: Understand slicer functionality

    Slicers are visual tools that let users filter data on reports easily by selecting values.
  2. 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.
  3. Final Answer:

    To filter report data visually and interactively -> Option D
  4. Quick Check:

    Slicer = Visual filter [OK]
Hint: Slicers filter data visually, not for calculations [OK]
Common Mistakes:
  • Confusing slicers with data import tools
  • Thinking slicers create calculations
  • Assuming slicers write DAX formulas
2.

Which slicer type should you use to let users select a range of dates?

easy
A. Between slicer
B. List slicer
C. Dropdown slicer
D. Checkbox slicer

Solution

  1. 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.
  2. 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.
  3. Final Answer:

    Between slicer -> Option A
  4. Quick Check:

    Date range = Between slicer [OK]
Hint: Use between slicer for numeric or date ranges [OK]
Common Mistakes:
  • Choosing list or dropdown for ranges
  • Confusing checkbox slicer with dropdown
  • Not knowing between slicer exists
3.

Given a dropdown slicer on a "Category" column with values: "A", "B", "C", what happens if the user selects "B"?

medium
A. The report filters to show rows where Category is blank
B. The report shows all rows except those where Category = "B"
C. The report filters to show only rows where Category = "B"
D. The report shows an error because dropdown slicers can't filter text

Solution

  1. Step 1: Understand dropdown slicer behavior

    Dropdown slicers filter the report to show only the selected value(s) from the column.
  2. Step 2: Apply selection "B" to filter

    Selecting "B" filters the data to rows where Category equals "B" only.
  3. Final Answer:

    The report filters to show only rows where Category = "B" -> Option C
  4. Quick Check:

    Dropdown slicer selection = Filtered data [OK]
Hint: Dropdown slicer shows only selected value's data [OK]
Common Mistakes:
  • Thinking it excludes selected value
  • Assuming it filters blanks
  • Believing dropdown slicers can't filter text
4.

You created a between slicer on a numeric "Sales" column but it shows no slider or range. What is the likely problem?

medium
A. Between slicers only work on date columns
B. The "Sales" column is stored as text, not numeric
C. The report page is filtered to zero rows
D. The slicer type is set to dropdown instead of between

Solution

  1. Step 1: Check data type for between slicer

    Between slicers require numeric or date data types to show a range slider.
  2. Step 2: Identify issue with "Sales" column

    If "Sales" is text, the slicer cannot create a numeric range slider, causing no slider to appear.
  3. Final Answer:

    The "Sales" column is stored as text, not numeric -> Option B
  4. Quick Check:

    Between slicer needs numeric/date type [OK]
Hint: Check column data type if between slicer shows no slider [OK]
Common Mistakes:
  • Assuming between slicers only work on dates
  • Not verifying slicer type setting
  • Ignoring data type mismatch
5.

You want users to select multiple product categories but keep the slicer compact in the report. Which slicer type and setting should you choose?

hard
A. Dropdown slicer with multi-select enabled and single select off
B. Between slicer on the category column
C. List slicer with multi-select enabled and single select off
D. List slicer with single select enabled

Solution

  1. 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.
  2. 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.
  3. Final Answer:

    Dropdown slicer with multi-select enabled and single select off -> Option A
  4. Quick Check:

    Compact multi-select = Dropdown slicer [OK]
Hint: Use dropdown slicer with multi-select enabled and single select off for compact multiple picks [OK]
Common Mistakes:
  • Choosing list slicer for compactness
  • Using between slicer on text categories
  • Enabling single select disables multi-select
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard