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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Running Totals

I have a chart that I am trying to create a running total on.  I am using this as the formula, but Jan always comes out to be 1.00 any ideas what I am doing wrong?  I have for example Jan: 250, Feb: 300, Mar: 300.  I am looking for Jan 250, Feb 550, Mar 850, etc.

Thanks

RangeSum(above(Sum({<FISYR = {$(=$(vFisYr) - 0)},YTDFlag = {1},[Plan Description] ={'Sales Plan'}>} [Plan_Dollars])),0,RowNo())

Labels (1)
15 Replies
tmumaw
Specialist II
Specialist II
Author

Sorry had a meeting the rest of the day.  I got the same thing 1.00 in January and the values in Feb - July

sunny_talwar
MVP
MVP

How about you use this expression:

Sum({<FISYR = {$(=$(vFisYr) - 0)},YTDFlag = {1}, [Plan Description] ={'Sales Plan'}>}[Plan_Dollars])


and select full accumulation from the expression tab?

tmumaw
Specialist II
Specialist II
Author

You are the man.  It works.

tmumaw
Specialist II
Specialist II
Author

That was a tricky one.

sunny_talwar
MVP
MVP

I am still not sure why RangeSum(Above()) did not work. I would have expected it to work.

tmumaw
Specialist II
Specialist II
Author

Me too.  I have a lot of other apps that use it.  Might have to do some more digging and question asking to find out why.  Thanks a lot for your help.  I see you are a early bird too.