Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Number Range as Slicer

Hi Folks,

I have field numeric field name -"Agreement Time Left" which has values 15,30,45,60,75,90. I want to use these numeric values as filters(slicers) and instead of selecting an individual value, I want it to be a slicer range type. On changing the filter from list values to between values, I get all numbers from 1-100 but instead, I need only 15,30,45,60.. on my slicer.

If the default visual in Power BI does not allow slider at discreet values, do we have any visual in-app store with this functionality

Please refer to my screenshots below for reference

sankalp_0-1611904552062.png

 

1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi, @Anonymous 

Slicer with Between option will display continuous value. You can try to create a What-if parameter.

1 Create a What-if parameter

v-cazheng-msft_0-1612161934998.jpeg

 

v-cazheng-msft_1-1612161935081.jpeg

 

v-cazheng-msft_2-1612161935081.png

 

2 Crete relationship for parameter table and your table

v-cazheng-msft_3-1612161935107.jpeg

 

3 Display the Slicer with Single Value

v-cazheng-msft_4-1612161935116.png

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-cazheng-msft
Community Support
Community Support

Hi, @Anonymous 

Slicer with Between option will display continuous value. You can try to create a What-if parameter.

1 Create a What-if parameter

v-cazheng-msft_0-1612161934998.jpeg

 

v-cazheng-msft_1-1612161935081.jpeg

 

v-cazheng-msft_2-1612161935081.png

 

2 Crete relationship for parameter table and your table

v-cazheng-msft_3-1612161935107.jpeg

 

3 Display the Slicer with Single Value

v-cazheng-msft_4-1612161935116.png

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PhilipTreacy
Super User
Super User

Hi @Anonymous 

I don't think that is possible.  The slider only allows continuous values, not discrete jumps in value.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


The OP is anonymous now but I have a workaround for this based on another solution here:

https://community.fabric.microsoft.com/t5/Desktop/Between-slicer-for-categorical-values/m-p/2677323/...


You can have your parameter set up with any increment. Then add a calculated column to rank your parameter range with RANKX, and use the rank column in a between slicer instead of the parameter itself.

Then you can cheat visually as well by adding two cards that overlap the value selections in the slicer, and two measures that calculate max value and min value of the parameter. Then you will have a continous slicer under the hood (based on the rank) but it will display and filter the distinct parameter values based on the increment you set.

You can see my setup here with a parameter from -20 to 20 with increment of 5

dk_dk_0-1724240081876.png

 

dk_dk_1-1724240092355.png

Note that it might bug a bit visually in pbi desktop, but if you turn on maintain layer order for each element it will work seamlessly once published.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.