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: 
grajmca_sgp123
Creator
Creator

Cululative sum from Mindate to TillDate-5,4,3,2,1

Hi

I would like to show sum of values in lichart for last 5 days trend.

but my requirement is the sum of value should be from mindate to till date-5,date4-,date-3,date-2,date-1.

How can we achieve this pls provide your suggestions.some thing like attached

Thanks in advance

1 Solution

Accepted Solutions
4 Replies
sunny_talwar

Would you be able to share some sample data with your expected output? It isn't very clear what you are trying to do.

Best,

Sunny

grajmca_sgp123
Creator
Creator
Author

Thank you for your reply,

Here is the sample data

Input table:

  

DateValue
7/14/2014100
9/22/201480
10/12/2014130
1/23/2015150
4/22/2015100
6/28/2015120
8/10/210570
8/18/201550
8/19/201550
8/20/2015300
8/21/2015120
8/22/2015140

   

I want to show line chart for last 5 days Cumulative sum.
X axis will have last 5  days dates
Output in line chart Values should be like below
Column1Column2(Cumilative value for all above dates)
8/18/2015800
8/19/2015850
8/20/20151150
8/21/20151270
8/22/20151410

Thanks

sunny_talwar

This:

Capture.PNG

sunny_talwar

In a line graph:

Capture.PNG