Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I have created a what if parameter (with slider) called "Hoist Percentage", which varies between 0.5 and 0.9 in increments of 0.05.
I have a measure called "Hoisted 6E Grade" which varies with this parameter.
I can create a visual that displays the grade value correctly for the current value in the slider, but what I want to do is plot a line chart of how the grade varies with all possible values of the Hoist Percentage parameter.
As you can see below, even when placing the parameter in the "axis" field of my visual, it still only plots one data point. Is it possible to get it to plot them all?
I realize I could create a dozen new measures that each work on a different constant instead of on the paramter, but I need it to work with the parameter slider, and that would be too cumbersome anyway.
Thanks in advance.My Line Chart
Fields in the Line Chart
Solved! Go to Solution.
Thanks, but I solved it over the weekend. I created a new table with a single column containing all the incremented values, and replaced my what if parameter with that column. I then replaced the what if slider with a slicer for that column.
I am not sure of the point of what if parameters to be honest. A new custom column worked way better.
Is it possible that you "draw" your expected outcome in paint or any other tool. Its hard for me to understand you.
Thank you!
BR,
Josef
Hi and thanks for responding. I was hoping for something more like this:
Hi @Ender ,
To solve your problem quickly, please share more details.
If it is conveninet, could you share the data sample which could reproduce your scenario so that we could have a test on it?
Best Regards,
Cherry
Thanks, but I solved it over the weekend. I created a new table with a single column containing all the incremented values, and replaced my what if parameter with that column. I then replaced the what if slider with a slicer for that column.
I am not sure of the point of what if parameters to be honest. A new custom column worked way better.
To be exact, the What-IF parameters have also created a calculated column/table for you with the GenerateSeries function.
Your desired Outcome or UseCase was probably not intended for What-IF scenarios.
In principle these make sense and are also a fantastic tool. (Of course you can replace them with calculated columns - it's a pleasant shortcut. -> Table&Measure are created - otherwise you would have to do it yourself)
Here is an excellent article from @EnterpriseDNA that demonstrates the use of What-IF parameters.
BR,
Josef
Thanks again. I will take a look.
Regards
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.