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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ilanbaruch
Specialist
Specialist

accumulated sum

Hi all,

in my model i have an expression which is working well in a straight table ,

within the straight table, when user select Apr-18 in the calendar the expression will retrieve the sum of all Sales below the max date (04/30/2018).

i want to use this kind of expression with month dimension (chart or a table) , but it is not working as i need the accumulated sum per each month.

sum({$<ValueDate=,YearMonth=, Year=,Month=,Group={50,51},Date= {"<=$(vPossibleDates)"} > } Sales)

vPossibleDates = date(max(ValueDate))

 

any ideas ?

advanced thanks 

Labels (1)
1 Reply
vvira1316
Specialist II
Specialist II

AsOf Calendar table is usually very helpful for accumulation. Please refer following link

https://community.qlik.com/t5/QlikView-Documents/Calculating-rolling-n-period-totals-averages-or-oth...