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
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
Super User
Super User

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


@ 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!:
The Definitive Guide to Power Query (M)

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
Super User
Super User

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


@ 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!:
The Definitive Guide to Power Query (M)

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
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