Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Chris272727
Partner - Contributor
Partner - Contributor

Cumulative Sum based on a date in Qlik Sense Bar chart

Hi Everyone,

I would like to show Cumulative sum in a bar chart in Qlik based on the date and below is my sample data. 

ExtractionDateRecords
6/4/202114190
6/5/202115250
6/6/202115290
6/7/202115330
6/8/202115370
6/9/202115410
6/10/202115450
6/11/202115490

 

I tried with below formula and  not gettting expected output and Attached bar chart.

aggr(rangesum(above(Sum(Records),0,RowNo())),ExtractionDate)

 

Please suggest me any solution if possible.

Thanks

Chris

 
 

 

 

 

1 Solution

Accepted Solutions
sunny_talwar

How about if you just use this

RangeSum(Above(Sum(Records), 0, RowNo()))

View solution in original post

4 Replies
sunny_talwar

How about if you just use this

RangeSum(Above(Sum(Records), 0, RowNo()))
Chris272727
Partner - Contributor
Partner - Contributor
Author

Thanks for the quick Reply. I tried with that and it doesnt work. Please see below thread where similar issues was posted and correct solution was provided you. https://community.qlik.com/t5/New-to-Qlik-Sense/cumulative-sum-in-bar-chart/td-p/33644
sunny_talwar

What do you see when you use this expression? Give an error message or just gives the wrong numbers?

Chris272727
Partner - Contributor
Partner - Contributor
Author

Sorry, there was an issue at my end.  It is working fine now.

 

Thank you so much!!