Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
cancel
Showing results for 
Search instead for 
Did you mean: 
Sameer225
Contributor
Contributor

Rolling Sum

I need to know how to calculate the rolling sum in qlik sense script.

I below mention the example dataset that I am using and I need the rolling sum of the qty as new feild and the value shouldn't be changed when any filter is applied on the rolling sum 

1 Solution

Accepted Solutions
Channa
Specialist III
Specialist III

IF(Previous(Year)=Year,RangeSum(Peek(QTY),QTY),QTY) AS QTY

Channa

View solution in original post

1 Reply
Channa
Specialist III
Specialist III

IF(Previous(Year)=Year,RangeSum(Peek(QTY),QTY),QTY) AS QTY

Channa