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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
dglawson
New Member

What if parameter in a running total (run down chart)

Hi there,

 

I'm having some trouble getting this chart to work.

 

I have a bunch of dates (beginning of month)

 

 

2018-07-01

2018-08-01

2018-09-01

2018-10-01

2018-11-01

2018-12-01

 

I want to be able to make projects based on some numbers

 

a starting value (savings)

 

1st what if parameter (income)

 

2nd what if parameter (expenses)

 

Basically, I want to start with the starting value (savings).

 

And then for each month, add the income (what if parameter), and take away expenses (what if parameter)

 

For those that are more visual, ive included an example of what I'm trying to do below. 

 

Has anyone got any ideas on how to make this work?

 

problem

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @dglawson,

Based on my test, you can refer to below steps:

1.I have entered some sample data like the picture below and add three ‘what if’ parameters.

Z1.PNG

 

Parameters:

Monthly Expense = GENERATESERIES(0, 530, 1)

Monthly Income = GENERATESERIES(0, 500, 1)

Starting values = GENERATESERIES(0, 4000, 1)

2.Add an index column in query editor and apply it.

Z2.PNG

3.Create a calculated column and you can see the correct result.

Column = [Parameter Value]+[Index]*([Monthly Income Value]-[Monthly Expense Value])

Z3.PNG

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/r12o0bbhnqwktnx/What%20if%20parameter%20in%20a%20running%20total%20%28run%...

 

Regards,

Daniel He

 

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

View solution in original post

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @dglawson,

could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @dglawson,

Based on my test, you can refer to below steps:

1.I have entered some sample data like the picture below and add three ‘what if’ parameters.

Z1.PNG

 

Parameters:

Monthly Expense = GENERATESERIES(0, 530, 1)

Monthly Income = GENERATESERIES(0, 500, 1)

Starting values = GENERATESERIES(0, 4000, 1)

2.Add an index column in query editor and apply it.

Z2.PNG

3.Create a calculated column and you can see the correct result.

Column = [Parameter Value]+[Index]*([Monthly Income Value]-[Monthly Expense Value])

Z3.PNG

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/r12o0bbhnqwktnx/What%20if%20parameter%20in%20a%20running%20total%20%28run%...

 

Regards,

Daniel He

 

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

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.

Top Solution Authors