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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

accumulation

I have 2 feilds named year, sales. If i select a year then i should get the accumulation of the sum of the sales of the previous 5 years dynamically? Example: if i slect year 2005 i should get the sales from 2000 to 2005 and the sales should be accumulated.

2 Replies
sunny_talwar

Accumulation in a text object? Chart?? Do you have a sample??

maxgro
MVP
MVP

sum({<year={">=$(=max(year)-5)<=$(=max(year))"}>}sales)