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
stefantaust
Helper I
Helper I

Parameter single Value

Hello,
I created a dataset using parameters and displayed the slicer. I have the value displayed as "Test Wert". However, it often doesn't display the exact value. If I type in the value "8888," the result is "8891." Sometimes it's correct. If I just create a range from 0-99, it's always correct. However, I need the range up to 99999. Thanks, Stefan

stefantaust_0-1750837119954.png

 

2 ACCEPTED SOLUTIONS

Hi @stefantaust ,

 

I believe you can use a workaround:

On the parameter table add a new column with the following code

Text Values = FORMAT(Parameter[Parameter], "00000")

This will give you the following table:

MFelix_0-1750842762769.png

 

Create a new measure on the parameters: 

Parameter Value Min = IF(ISFILTERED(Parameter[Text Values]), MIN(Parameter[Parameter]))

 

Now use the new Text slicer to do your calculation:

MFelix_1-1750842961041.pngMFelix_2-1750842975833.png

 

Please see file attach.

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

Hi @stefantaust 

 

This is the new Text Slicer:
https://learn.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-text-slicer


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

5 REPLIES 5
MFelix
Super User
Super User

Hi @stefantaust ,.

 

This is a know limitation in parameters (https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-what-if#considerations-and-limita...)

 

 

  • Parameters can only have 1,000 unique values. For parameters with more than 1,000 unique values, the parameter values will be evenly sampled.

This is what is happenning in your parameter that is making the evenly sampled values n the slicer.

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi,
Thanks for the feedback. Then I have a problem if I need up to 99,999 values. I need an input field, but unfortunately, Power BI doesn't provide that.
Thanks
Stefan

Hi @stefantaust ,

 

I believe you can use a workaround:

On the parameter table add a new column with the following code

Text Values = FORMAT(Parameter[Parameter], "00000")

This will give you the following table:

MFelix_0-1750842762769.png

 

Create a new measure on the parameters: 

Parameter Value Min = IF(ISFILTERED(Parameter[Text Values]), MIN(Parameter[Parameter]))

 

Now use the new Text slicer to do your calculation:

MFelix_1-1750842961041.pngMFelix_2-1750842975833.png

 

Please see file attach.

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Thank you, it works 🙂 
What is the name of this Visual? 

stefantaust_0-1750844262017.png

 

Hi @stefantaust 

 

This is the new Text Slicer:
https://learn.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-text-slicer


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



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.