Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
APPLIES TO:
Power BI Desktop
Power BI service
With the numeric range slicer and the date range slicer, you can create filters for any numeric or date column in your data model. There are three options for filtering your data:
This simple technique is a powerful, visual way to filter your data.
You can use a numeric range slicer like you would use any other slicer. Create a Slicer visual for your report, and then select a numeric value for the Field value.
Power BI automatically creates a numeric range slicer. By default, it's set to Between.
Create a Slicer visual for your report, and then select a date field for the Field value.
Power BI automatically creates a date range slicer. By default, it's set to Between.
Besides the basic date range slicer, there are two other options, explained in these articles:
In the Format pane, under Visual > Slicer settings > Options, select one of these options:
You can use the slider to select numeric values that fall between the numbers. Sometimes the granularity of moving the slicer bar makes landing exactly on that number difficult. You can use the slider, or select either box to type in the values you want. This option is convenient when you want to slice on specific numbers.
In the following image, the report page filters for Sales Amount values that range between 2,100.00 and 25,000.00.
When you select Less than or equal to, the left (lower value) handle of the slider bar disappears, and you can adjust only the upper-bound limit of the slider bar. In the following image, the lower limit is gone.
If you select Greater than or equal to, then the right (higher value) slider bar handle disappears. You can then adjust the lower value, but not the upper value.
A numeric range slicer snaps to whole numbers if the data type of the underlying field is Whole Number. This feature lets your slicer cleanly align to whole numbers. Decimal Number fields let you enter or select fractions of a number. The formatting set in the text box matches the formatting set on the field even though you can type in or select more precise numbers.
When you use a slicer to display or set a range of dates, the dates display in the Short Date format. The user's browser or operating system locale determines the date format. As such, it will be the display format no matter what the data type settings are for the underlying data or model.
You could, for example, have a long date format for the underlying data type. In this case, a date format such as dddd, MMMM d, yyyy would format a date in other visuals or circumstances as Wednesday, March 14, 2001. But in the date range slicer, that date displays in the slicer as 03/14/2001.
Displaying the Short Date format in the slicer ensures the length of the string stays consistent and compact within the slicer.
The following considerations and limitations apply to the numeric range slicer:
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Module
Configure Power BI report filters - Training
Report filtering is a complex topic because many techniques are available for filtering a Microsoft Power BI report. However, with complexity comes control, allowing you to design reports that meet requirements and expectations.
Certification
Microsoft Certified: Power BI Data Analyst Associate - Certifications
Demonstrate methods and best practices that align with business and technical requirements for modeling, visualizing, and analyzing data with Microsoft Power BI.