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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Accumulation behaviour - set a max accumulation date

Hi All,

I wish to accumulate an actual spend amount over a date period in a line graph.

The problem is that the line extends to the maximum date (horizontally). I want the line to stop at the maximum actual spend date, not the maximum date on my date calendar.

See below:-

error loading image

So here, the blue line (Actual) will stop at Mar 2010.

How is this possible?

Thanks!

2 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

If possible can you attach a sample application

Not applicable
Author

Hi

I have done it like this

sum

(if(month(Budget_date) = month(Actual_date) and year(Budget_date) = year(Actual_date),Actual_value))

It works for me.

Anders