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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
tinkerz1
Creator II
Creator II

Accumulate data in an expression above a date in a chart

I would like to accumulate all data above a date and filtering with an 'if' statement.

I need the same key because I am using locations and a stacked bar chart it wont be good on the eye to have seperate keys.

I have been able to get a partial accumulation to work, but my new issues is that if the country is not present every month in the data, then the country wont carry forward and that is not what I want.

,

aggr(rangesum(above(count(distinct if([Issue Level]='Medium' and [Future Issue]='Future Issue',ID)),0,4)),Country,[Reporting Month])

Any help on making the accumulation roll over?

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

It's unclear to me what you want. Please read this blog post: Accumulations. If you need more help after reading this blog post please post a small qlikview document that explains the problem.


talk is cheap, supply exceeds demand
tinkerz1
Creator II
Creator II
Author

Hi,

I have updated the original post with qvw and spreadsheet.

The goal is to report on current issues upto the month end date that are overdue issues.

Then from the month end date find the worst case scenario by adding all future overdue issues by concatenating the overdue date (based in the future) to the reporting date.

This will make a list that can then be filtered for issue level.

Ideally I would like to start the accumulation from the month end, so the current issues reported on month end and then add on all issues becoming overdue from that date.

Any help is greatly appreciated.

tinkerz1
Creator II
Creator II
Author

I have been able to get a partial accumulation to work, but my new issues is that if the country is not present every month in the data, then the country wont carry forward and that is not what I want.

,

aggr(rangesum(above(count(distinct if([Issue Level]='Medium' and [Future Issue]='Future Issue',ID)),0,4)),Country,[Reporting Month])

Any help on making the accumulation roll over?