Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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