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

Variable for previous month

Hi, i got variable for current month vCurrentMonthYear = Month(Today())& '-' & Year(Today())

how can I change for previous?

Labels (2)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

=Date((Monthname(Today())-1),'MMM-YYYY')

View solution in original post

2 Replies
BrunPierre
Partner - Master II
Partner - Master II

=Date((Monthname(Today())-1),'MMM-YYYY')

gz
Creator
Creator
Author

great, thanks