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: 
johnnyjohn
Creator
Creator

Sum for previous month with month as dimension

Say I have the following table where month is a dimension. Sum data is calculated with Sum(data)

MonthSum data
01/07/20191
01/08/20192
01/09/20193
01/10/20194
01/11/20195

 

How can I calculate the sum for the previous month, i.e.

MonthSum dataSum data previous month
01/07/20191-
01/08/201921
01/09/201932
01/10/201943
01/11/201954
Labels (1)
10 Replies
johnnyjohn
Creator
Creator
Author

Hello, thanks for answering. I have tried it, but I am not quite sure how this expands on using Above(). The issue I am having is deeper than my original question. Please see the conversations abovee Thanks!