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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors