Sample Data
Sales data by date for the first five days of January 2024.
| Cell | Value |
|---|---|
| A1 | Date |
| B1 | Sales |
| A2 | 2024-01-01 |
| B2 | 100 |
| A3 | 2024-01-02 |
| B3 | 150 |
| A4 | 2024-01-03 |
| B4 | 200 |
| A5 | 2024-01-04 |
| B5 | 130 |
| A6 | 2024-01-05 |
| B6 | 170 |
Sales data by date for the first five days of January 2024.
| Cell | Value |
|---|---|
| A1 | Date |
| B1 | Sales |
| A2 | 2024-01-01 |
| B2 | 100 |
| A3 | 2024-01-02 |
| B3 | 150 |
| A4 | 2024-01-03 |
| B4 | 200 |
| A5 | 2024-01-04 |
| B5 | 130 |
| A6 | 2024-01-05 |
| B6 | 170 |
CALCULATE(SUM(Sales[Sales]), FILTER(Sales, Sales[Date] >= StartDate && Sales[Date] <= EndDate))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)
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)
What is the main purpose of a slicer in Power BI?
Which slicer type should you use to let users select a range of dates?
Given a dropdown slicer on a "Category" column with values: "A", "B", "C", what happens if the user selects "B"?
You created a between slicer on a numeric "Sales" column but it shows no slider or range. What is the likely problem?
You want users to select multiple product categories but keep the slicer compact in the report. Which slicer type and setting should you choose?
Pass the test and this pattern moves unknown