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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
n1ef5ng1
Creator
Creator

Accumulative

Hi Guys,

Is there any way I can create such a accumulation on my expression?

Desire output

DateValueAccumulative Value
Jan 201111
Feb 201123
Mar 2011710
Apr 2011414
May 2011519
June 2011827
July 20111037
Aug 211239
Sep 2011746
Oct 2011248
Nov 2011149
Dec 2011857
Jan 2012`99
Feb 2012110
March 2012919

The accumulative value will reset once it reach end of Dec. Is there any way I am able to do that?

I am using this code at the moment rangesum(above(sum(TEU),0,mod(month(Year),12)+1)), and it is not working. thanks

16 Replies
n1ef5ng1
Creator
Creator
Author

The value that you mentioned, is it referring to the value that i name on the table?

Sokkorn
Master
Master

Hi,

Did you try my script above?

Rgds,

Sokkorn

n1ef5ng1
Creator
Creator
Author

Hi i am unable to edit the script as it might affect the rest of the sheets. terribly sorry about that

er_mohit
Master II
Master II

in my application i used dimension year and ncount

and expression accumulate

see in my application it works for per year accumulation

n1ef5ng1
Creator
Creator
Author

sorry but what is ncount for?

MK_QSL
MVP
MVP

Use Year(Date) as Year while loading script...

While making table, use Year as dimension and hide it using presentation tab is not needed.

In Expression tab, use Full Accululation as shown in earlier reply by some of our friends.

Hope this will help.

er_mohit
Master II
Master II

ncount and year is my fieldname

i post you our example as per your need