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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
fergalom
Frequent Visitor

Whatif Parameter issues

Using the whatif parameter feature to define a range of -1M to +1M in increments of 1000 with default of 0.

 

WhatIf BUDGET table

WhatIf BUDGET = GENERATESERIES(-1000000, 1000000,1000)

WhatIf BUDGET Value = SELECTEDVALUE('WhatIf BUDGET'[WhatIf BUDGET], 0)

 

However, the issues are:

input X = result Y

input 0 = -1000 (not ok)

Input 1000 = 1000 (ok)

Input 2000 = 1000 (not ok)

Input 3000 = 3000 (ok)

Input 4000 = 3000 (not ok)

Input 5000 = 5000 (ok)

etc

etc

 

I have tried changing the increment but same issue with slightly different results.

Setting start point of range to 0 solves this but not what we want.

 

Is there a known issue with the WhatIf Paramter using a negative to positive range?

 

 

1 ACCEPTED SOLUTION
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @fergalom,

 It's because of the range being too big and the numbers are being sampled. So not all value can be typed as single value. It's a limitation of what if parameter, please review the following ideas and comment on them.

What-if Parameter Slicer Limitations
"what if" parameter - turn off sampling so all numbers are generated in a range

Best Regards,
Angelia

View solution in original post

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @fergalom,

 It's because of the range being too big and the numbers are being sampled. So not all value can be typed as single value. It's a limitation of what if parameter, please review the following ideas and comment on them.

What-if Parameter Slicer Limitations
"what if" parameter - turn off sampling so all numbers are generated in a range

Best Regards,
Angelia

Upvoted and thats a major pain!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

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.