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: 
slwasson
Partner - Contributor III
Partner - Contributor III

Accumulation in Pivot - need help!

I am unable to create YTD accumulation in a pivot.  I've read many previous threads on the topic, but nothing seemed to provide the answer I need.  Attached is a file containing some data, a pivot with incorrect YTD figures, and a screenshot from Excel of what the data should be.  Any help would be most appreciated!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try as expression in your pivot table

=aggr(rangesum(above(sum(Sales),0,rowno())),Year,Date)

View solution in original post

3 Replies
swuehl
MVP
MVP

Try as expression in your pivot table

=aggr(rangesum(above(sum(Sales),0,rowno())),Year,Date)

slwasson
Partner - Contributor III
Partner - Contributor III
Author

Thank you so very much - it works perfectly! 

marthacano01
Partner - Creator
Partner - Creator

Thank you!! you save my life!!