Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
rajeshqvd
Creator II
Creator II

cummulative sum in table

input:

Month YearSales
Jul-1923
Jun-1944
May-19444
Apr-1911
Mar-1985
Feb-1948
Jan-19949
Dec-18

48

 

Required Output:

Month YearSalesOutput
Jul-19231652
Jun-19441629
May-194441585
Apr-19111141
Mar-19851130
Feb-19481045
Jan-19949997
Dec-184848
2 Replies
Anil_Babu_Samineni

Perhaps this?

If(RowNo(TOTAL)=1, Above(Sum(TOTAL Sales),0), Above(Sum(TOTAL Sales),0)-Below(Sum(Sales),0))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
rajeshqvd
Creator II
Creator II
Author

Thanks for your response, other dimension and order in data that's why i am not getting correct output