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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
heyitssree
New Member

Creating measure using user input in Slicer based on What-if Parameter

Hi there,

 

I'm coming from Amazon Quicksight and have been working with Power BI for less than two months only. 

One requirement we have currently is to provide a slicer for collecting user input (whole number), which will then be used for calculating mesaures.

 

I created a What-if parameter, with range between 0-100,000,000 and increment of 1, and using a slicer out of the same, in single value format, without the slider.

 

Issue is, for small values like 1,000 once I enter the value and hit enter (or even click outside the slicer), the slicer reverts to 0. And when I enter bigger values, it readjusts to some value close to the inut but less than that (eg: If I input 50000, it is changed to 49950). 

When I reduced the range to something like 10,000 it seems the slicer was accepting more values. But the problem is, the requirement needs the range to be this high.

 

Anybody know why this is happening? And any solution for my requirement?

 

Thank you!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That's how slicers work - you can have a maximum of 1000 discrete values. Your  "range between 0-100,000,000 and increment of 1,"  is far, far outside these limits.

 

Use the filter pane instead and teach your users how to use it.

View solution in original post

2 REPLIES 2
heyitssree
New Member

Thanks. I have made adjustments with the range and increment so that the available 1002 values in the slicer fits the need of business users

lbendlin
Super User
Super User

That's how slicers work - you can have a maximum of 1000 discrete values. Your  "range between 0-100,000,000 and increment of 1,"  is far, far outside these limits.

 

Use the filter pane instead and teach your users how to use it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.