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

What if parameter value keeps changing single value

sc1.JPGHI Everyone,

I have created a what-if parameter in my report that takes in a single value (Slicer). 

When i open the paramter. It has the below code. (the checked marker)

length = GENERATESERIES(1, 500000)

 
My requirement is to be able to enter an whole number (selected) with an exact length (any number between 1 and 500,000). 
 
The next DAX measure is 
Parameter Value = SELECTEDVALUE('length'[Parameter], 100)
Now, when i enter the value as 300,000; the system changes it to 300,200? Why is it adding 200 i dont understand. 
 
Can you please help me. 
Thanks.

 

10 REPLIES 10
KiwiFox
New Member

May 2023, still same problem.

I love how we have to pay for a product that has bugs and then gather enough votes to fix said bugs.. Lovely

titaregina
Regular Visitor

Seems like this issue has not been resolved. Anyone still having the same issue?

sfaizee
Helper I
Helper I

I could not find the solution to this problem. 

Any help?!

Does anyone else face the same problem. 

Any help would be greatly appreaciated. 

Thanks.

 

amitchandak
Super User
Super User

@sfaizee , Are you entering the value manually or using slicer. Sometimes with slicer excat value might get selected .

 

I used what with excat values.

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Hi, 

I am entering the data manually. 

The slicer has a scroll bar as well that i have kept open. 

Even turning it off didnt help. 

 

sc2.JPG

 

 

 

This the value that i enter manually in the field. 

 

Entered Manual valueSlicer changed it to this value.Difference
                              100,00099901                 99
                              150,000149851              149
                              200,000199801              199
                              250,000249751              249
                              300,000300200            (200)
                              350,000350150            (150)
                              400,000400100

            (100)

 

 

Slicer values changes. 

See the difference for you to understand. 

 

Just to clarify the point a bit more. 

I used a whatif parameter with Data type as whole number

and DONT SUMMARIZE.

This created a parameter:

length = GENERATESERIES(1, 500000)

and a measure

Parameter Value = SELECTEDVALUE('length'[Parameter], 100)
 
Now when i enter the value in the slicer manually. 
The values change
val.JPG
Such changes effect the further measures that i have in my report. I am calculating the rates based on length and time. 
Similarly 3 more what if's in this report. 
Setup Time = GENERATESERIES(1, 20000, 1)
Measure 
Setup Time Value = SELECTEDVALUE('Setup Time'[Setup Time])
Here are the results of manual entry. 
val2.JPG
 
Thanks for your help. 
Regards,
Sahim. 
 
 
 
 
 

 

 

 

@amitchandak 

I have added the detail result. 

Could you please check and advise me

Thanks.

 

HI @sfaizee ,

 

Even i am also facing the same issue, can you please provide the resolution if it resolve from your end?

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.