Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate Running balance

Hi,

I am struggling to work out how to calculate a running balance in a chart.

I want an expression that takes a figure from the total and then each row continues to calculate this as we move down the chart.

PFA a dummy target answer

Thanks

Stuart

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

4 Replies
anbu1984
Master III
Master III

Check this app

ankitaag
Partner - Creator III
Partner - Creator III

Hello Stuart,

Save the sum(Effect Count) in a variable

in the expressio tab write the 1st expression as effect count and check the full accumulation box below.

2nd expression as variable-column(1)

Go to the poresentation tab and check the hide column option for the 1st expression.

awhitfield
Partner - Champion
Partner - Champion

Hi Stuart,

see the attached, expression used is

[RunningBalance]-RangeSum(above(Sum(EffectCount),0,RowNo()))

Hope it helps!

Andy

Not applicable
Author

thanks