New to Qlik Analytics

If you’re new to Qlik Cloud or Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG

Who Me Too'd this topic

Ceb
Contributor III
Contributor III

Cumulative Sum by Month - QlikSense

Hi,

I am trying to use RangeSum to get cumulative sum of a column by the month. I tried the Aggr function along with the RangeSum function but not able to do so 

This is what I have right now

DateActualYear TargetMonth Target
1/1/2019 0:000184880
1/2/2019 0:004184880
1/3/2019 0:0012184880
1/4/2019 0:0017184880
1/5/2019 0:0017184880
....
....
....
2/1/2019 0:00118184892
2/2/2019 0:00118184892
2/3/2019 0:00118184892
2/4/2019 0:00127184892
2/5/2019 0:00127184892
....
....
....
3/1/2019 0:00217184888
3/2/2019 0:00217184888
3/3/2019 0:00217184888
3/4/2019 0:00223184888
3/5/2019 0:00229184888

 

For the month Target I have 80,92,88 which is individual Month Target but I need to do a vlookup on the month and if new month I need the cumulative sum

I need the following output

DateActualYear TargetMonth Target
1/1/2019 0:000184880
1/2/2019 0:004184880
1/3/2019 0:0012184880
1/4/2019 0:0017184880
1/5/2019 0:0017184880
....
....
....
2/1/2019 0:001181848172
2/2/2019 0:001181848172
2/3/2019 0:001181848172
2/4/2019 0:001271848172
2/5/2019 0:001271848172
....
....
....
3/1/2019 0:002171848260
3/2/2019 0:002171848260
3/3/2019 0:002171848260
3/4/2019 0:002231848260
3/5/2019 0:002291848260

 

Thanks

Labels (3)
Who Me Too'd this topic