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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Rajeshwar-s
New Member

Fields Parameter accepting incorrect input values during What-if Analysis

Hi everyone,

I've created a Fields Parameter (using Modeling > New Parameter > Fields) to generate a serial number with an incremental value of 1.

The auto created DAX is: = GENERATESERIES(500, 150000, 1)

This generates values like 500, 501, 502, …, 150000, and also checked for adding this parameter as a slicer for analysis.

However, I’m facing a strange issue when performing What-if Analysis — the slicer is accepting incorrect values.
For example:

  • When I enter 1000, it changes to 948

  • 700 becomes 649

  • 1100 becomes 1097

  • 1200 becomes 1247
    In this the snapshot see how the value is changing after enteringIn this the snapshot see how the value is changing after entering

I’m unable to figure out whether I’ve made a mistake in setup or if this is a potential Power BI bug.

Has anyone else faced a similar issue or can suggest a workaround?

Thanks in advance!

6 REPLIES 6
Shubham_rai955
Responsive Resident
Responsive Resident

This issue happens because Power BI might not be handling the manual input values correctly in the slicer for What-if analysis.

Try these steps:
- Check your Power BI version and update to the latest one.
- Make sure the slicer uses the same number format as your parameter (like no currency or special symbols).
- Check your computer’s region and language settings for numbers and currency symbols.
- If it still doesn't work, it could be a bug in Power BI. You can report this to Microsoft or look for help in the Power BI community forums.

 

Hope this helps!

v-achippa
Community Support
Community Support

Hi @Rajeshwar-s,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @danextian and @pbiuseruk for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user for the issue worked? or let us know if you need any further assistance.

 

Thanks and regards,

Anjan Kumar Chippa

pbiuseruk
Resolver II
Resolver II

I came up with a nice solution but it's not using parameters:

1. Generate a new table using the same dax query that you have. Go to the modelling tab and click on "New Table". Then just put in the generate series Dax that you have.

2. Make a slicer for the Value field (there'll only be 1 field)

3. In the slicer settings - make it greater than or equal to: 

pbiuseruk_0-1760346610266.png



4. Make a measure like this: 

Measure = min(table1[Value])
 
5. Make a data card and put in that measure
pbiuseruk_1-1760346661368.png

If you want, you can make a little white box and put it over the greyed out max part. But this should work in pretty much the same way as you want. Just reference this measure for any other things you want to calculate.

Please mark as the solution if this solved your query.

Use @danextian's solution below - I didn't realise you can just just change the slicer setting for the parameter. For you data cards or wherever you're referencing it - just make make sure you either use Min or Max before the parameter field value (depending on if you do "Less than or equal to" or "More than or equal to").

danextian
Super User
Super User

Hi @Rajeshwar-s 

 

This is a known issue with a single selection numeric parameter when there are many values to select from. Instead of single selection, use "Less than or equal to" and cover the grayed out area with a shape filled with a color that matches the background of the slicer.

danextian_0-1760346667631.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
pbiuseruk
Resolver II
Resolver II

Hello,

 

Have a look at Dans and DataNinjas comments in this thread: https://community.fabric.microsoft.com/t5/Desktop/What-if-parameter/m-p/4825064.

 

He mentions that there's a known limitation for large ranges and a workaround option to handle this.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.