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
harshagraj
Post Partisan
Post Partisan

Decimal value inputtting in What If Parameters

Hello All,

User requirement is to have a input box in Sheet1 and Needs to display the inputted value in Sheet2 as a card.

I tried creating a what if paramater but user needs to inuput different values like 2.35,83.62,98.39 etc. But in what if parameter if i enter those values it is correcting to something else.

 

harshagraj_0-1606378387847.png

harshagraj_1-1606378401508.png

Please help me.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@harshagraj , You can generate a series of your choice. Make it like generate series (0.00,100.00 ,0.01) , then you will be able to choose

refer my example of quick measures : https://community.powerbi.com/t5/Quick-Measures-Gallery/PMT-Monthly-EMI-Calculator/td-p/1232245

View solution in original post

4 REPLIES 4
jeremyp78
New Member

Did you ever find a solution for this? I'm having the same issue. If I generate a series like this:

SimilatedLabourRate = GENERATESERIES(100.00, 250.00, 0.01) it seems to generate fine, however if the slicer is a "Single Value" style where the user can enter a number like 102.00 it will change the value to 101.95!! If I change the slicer to a dropdown, it works when the user selects the number, but that's not a good workaround for me since there's way too many options and the user has to constantly scroll through the list. Has anyone else figured out why this doesn't work as it should?
manikumar34
Solution Sage
Solution Sage

@harshagraj , 

Not clear, 

 

If you are looking to input any slected value.  Try using something liket this.

Parameter = GENERATESERIES(0, 1000, 0.01)

manikumar34_0-1606379586520.png

 

Regards, 

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




amitchandak
Super User
Super User

@harshagraj , You can generate a series of your choice. Make it like generate series (0.00,100.00 ,0.01) , then you will be able to choose

refer my example of quick measures : https://community.powerbi.com/t5/Quick-Measures-Gallery/PMT-Monthly-EMI-Calculator/td-p/1232245

Hi @amitchandak  I used the same parameters you suggested in generateseries but my number changes to a long decimal automatically. 

9.9 becomes 9.889999999

10.25 becomes 10.289999999999825

Please suggest

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.