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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Ender
Regular Visitor

Graphing a measure against all possible values of a parameter

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 ChartMy Line ChartFields in the Line ChartFields in the Line Chart

1 ACCEPTED 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.

View solution in original post

6 REPLIES 6
JosefPrakljacic
Solution Sage
Solution Sage

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:

image.png

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

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors