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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sharpedogs
Advocate II
Advocate II

Is this possible? A graph/slider where you input a number/value and get an output.

For example, we have a print service. For every impression it costs $0.05. Lets say Julie did 1,000 impressions in 2019, her print bill would have been $50..

 

I want to add something to my dashboard that would allow me to show Julie if she reduced her Print by 200 impressions she would save $10. I'm not sure how to encorporate this sort of graph/slider?

 

My table of data is as such. The unit price is not in the table, it's a DAX (Number of Impressions X ($0.05))

UserMono ImpressionsColor Impressions
Julie500500
Chad1000150
Jeff250300

 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

Sounds like you want a What If parameter. Basically it is a table created using GENERATESERIES coupled with a measure that uses SELECTEDVALUE. Found in the What If area of the Modeling tab of the ribbon and is now called New parameter



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Hi @sharpedogs ,

 

You can refer following link to create What-If Parameters in Power BI:

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

Sounds like you want a What If parameter. Basically it is a table created using GENERATESERIES coupled with a measure that uses SELECTEDVALUE. Found in the What If area of the Modeling tab of the ribbon and is now called New parameter



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

the What If statement.... where have you been all my life :)...

Hey Greg, 

by the sounds of it, yes that is what i am looking to accomplish. But my skillset is not yet there with respect to creating it. I'm reading two books at the moment (one of DAX and one on visualizations). Parameters havn't yet come up, is there by any chance a Youtube video you can recomend? 

 

I'll also take a look today on YouTube for parameters. I didn't understand prior to your comment how that would have helped me. 

Hi @sharpedogs ,

 

You can refer following link to create What-If Parameters in Power BI:

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.