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
Anonymous
Not applicable

What-if parameter : Visuals are not changing according to the parameter changes (using slicer)

I added a What-if parameter to my Power BI report and it generated a table and a measure. Using that measure I did a calculation as given below:

 

Backup gen qty with powercut hrs = MainTable[Fuel per Hour] * 'power cut hours'[power cut hours Value]
 
In here 'power cut hours'[power cut hours Value] is the measure created when adding What-if parameter.
 
But the selected value from the slicer does not change the output in my above calculation, it just only give a blank and as a result visuals are not changing either.
 
Please kindly give a solutionn for this.
2 REPLIES 2
v-yetao1-msft
Community Support
Community Support

Hi @Anonymous 

Can you provide your sample ? Through your text description, I have no way to successfully restore your scene. So I hope you can provide your sample or pbix file(remove sensitive info) so that we can better deal with the problem. 

 

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

Anonymous
Not applicable

Thanks for your response!!!

 

As I said following screen shot will show you the equation I have created by using the measure which was created while adding the what if parameter. As you can see it will only show blank when i change the parameter from the slicer.

Screenshot 2022-06-20 173330.png

 

So in the report when i change the parameter visuals aren't changing as a result of the blank.

Screenshot 2022-06-20 173417.png

 

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.

Top Solution Authors