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.
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
Kindly look into the issue and let me know how to get user input for large values.
Thank You in advance!
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://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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.