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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
AFoisAnalytics
Frequent Visitor

Input value parameter not working

Hello everyone,

I created a numeric parameter (Modeling -> New paramter -> Numeric range) with range from 1 to 10,000,000 with increment of 1. I will use this parameter to parametrize a query.

 

The problem is that the text box where is possible input the desired value it doesn't work.
For example If i type:

  • 5 the input box show again 1 ( the starting value)
  • 1,000 the parameter return to 1
  • 5,000 the parameter go to 9,991
  • 20,000 the parameter goes to 19,891

What is going on? Why the parameter is having this behavior?

Starting Value ParameterStarting Value ParameterTyping 5000 as input parameterTyping 5000 as input parameterHow the parameter respond with wrong value selectionHow the parameter respond with wrong value selection

 

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @AFoisAnalytics 

 

Sampling  occurs when too many values are in the column used in parameter. It is a known issue. Unfortunately, it hasn't been addressed yet
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=3cd3bbbc-7589-4696-b7f8-e0f1d08b3c42

danextian_0-1722856606423.png

 

Alternatively, you can add a text column to the table and use that in a dropdown slicer instead. Just make sure to sort it by the original parameter column.

danextian_2-1722856895809.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

6 REPLIES 6
AFoisAnalytics
Frequent Visitor

Thank you all for the replies, so the answer is that in 2024 this problem is still NOT been resolved.

Anyway I think that is just ridiculous that Microsoft spend time and resources developing useless features to wright orrible dax with Copilot but don't fix such essectial functionality.

The solution to creare a Text column of 10,000,000 and ask the Customer (User) to scroll a dropdown list until he arrive to the number he wants is horrendous.

I am migrating a report from Tableau to Power BI and in Tableau you can just creare a parameter where you type the number you want and the software build dynamically the parameter after. So much easier and user-consumer-friendly.

Hi @AFoisAnalytics if you click on the ...  on the right hand side of your slicer you can choose search on.

That way you can have them type in the search box instead.

Alternatively there are custom slicers free that will filter as soon as they search.

SamWiseOwl_0-1722861853687.pngSamWiseOwl_1-1722861867327.png

 

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

danextian
Super User
Super User

Hi @AFoisAnalytics 

 

Sampling  occurs when too many values are in the column used in parameter. It is a known issue. Unfortunately, it hasn't been addressed yet
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=3cd3bbbc-7589-4696-b7f8-e0f1d08b3c42

danextian_0-1722856606423.png

 

Alternatively, you can add a text column to the table and use that in a dropdown slicer instead. Just make sure to sort it by the original parameter column.

danextian_2-1722856895809.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
SamWiseOwl
Super User
Super User

Hi @AFoisAnalytics 

Performance on large sets (10 million in this case) is not always reliable.

Do you need every value seperate or could you use the Step feature to reduce the number of rows.

Parameter = GENERATESERIES(1, 10000000, 10000)
This will reduce the number of rows from 10million to 1 thousand.

If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Hi Sam, unfortunately i need every possible value. I am querying a very large database from Snowflake and the parameter will be used to parametrize the Sql query received by power query. 

The report has to be in direct query mode and because of the size of the data model the parametrization is necessary. Build a table with a Text column and materialize upfront all possible values is creazy for me. This makes the model much heavier with many useless MB of data inside.

I am shocked by Microsoft that a Text column is the only solution or workaround.

VijayP
Super User
Super User

@AFoisAnalytics  This is because of too many values in parameter . you need to make it as a column and choose from column to avoid that issue

VijayP_0-1722856491900.png

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.