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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
sravan_v007
Partner - Contributor III
Partner - Contributor III

Cumulative Values..

Hi All,

Need help in Cumulative Calculation..

I Have a table like...

Names           Values

A                    10

B                    20

C                    30

now I want a new Colume with Cumlative Values

Like..

Cumulative_Values

10                    =10

(10+20)/2          =15

(10+20+30)/3     =20

Thanks in Advance...

4 Replies
swuehl
MVP
MVP

Maybe like

=rangesum( above( sum( Value),0,rowno() )) / rowno()

tresesco
MVP
MVP

PFA

Not applicable

try this code

RangeSum(Above(sum( Values),0,RowNo()))/RowNo()

then output like this

NamesValuesAccumulate
A1010
B2015
C3020
Not applicable

Hi, check the example