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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

URGENT!!!!! Power BI- Integer User Input using what if parameter- Behaves abnormally for large user

Hi Team,

 

I am working on a project. The project is almost completed except that I am stuck at getting the user input for large values.

 

The detailed explanation of the problem-

I created a new parameter with Minimum=1, Maximum=5000(large value), Increment=1 for the user input. Now when the user enters a value as 4500, the value automatically changes into some other number like 4495(random number). 

 

I created another parameter with Maximum value=50. At that time I faced no issues. The user input was read correctly.

 

I googled about this issue. Other users have aslo faced similar issue. I tried the solution mentioned in the blog. It did not work.

 

Link- Other users also faced same issue

https://community.powerbi.com/t5/Desktop/GENERATESERIES-not-selecting-certain-number-in-the-range/m-...

 

 

Kindly look into the issue and let me know how to get user input for large values. 

 

Thank You in advance!

1 REPLY 1
v-binbinyu-msft
Community Support
Community Support

Hi @Anonymous ,

This is because parameters can only be used with value ranges between 0 and 1,000. For ranges greater than 1,000, the parameter value will be sampled.

For more details, you can read related document:

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-what-if#considerations-and-limita...

https://community.powerbi.com/t5/Desktop/What-If-Parameters-Rounding-Crazy/td-p/993836

Please  try creating the table in M, that should work fine:

let
    Source = {1..5000},
    #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{{"Column1", "Parameter"}}),
    #"Changed Type" = Table.TransformColumnTypes(#"Renamed Columns",{{"Parameter", Int64.Type}})
in
    #"Changed Type"

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors