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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
alsm
Helper III
Helper III

Display equation output as line chart

Not sure if its a DAX question, but let me try.

If I had to divide 100 over 10 years, how can I show it as a linear chart? 

i.e. Y0 = 100, Y1 = 90, Y3 = 80 ... Y9 = 0

 

This is simplified version of question where I will create user inputs on screen using slicer, text boxes to input initial value, number years, etc.

As user changes the values the chart is updated based based on the equation. There can be mutiple lines on the same chart for different equation.

 

Another variation of question is there are two equations

1. y = 10x + 3

2. y = 5x^2 + 3x -1

If user selects 10 (years) then x is subsituted 0...10 to show 2 lines on same chart.

How does one do this in power bi?

 

1 REPLY 1
lbendlin
Super User
Super User

Use "What if?" parameters and measures.  Note that the values for "What-If?"parameters have fixed granularity, you can only have up to 1000 quants (quanta?) per parameter.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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