Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
gz
Contributor III
Contributor III

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
Partner - Master

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

View solution in original post

2 Replies
BrunPierre
Partner - Master
Partner - Master

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

gz
Contributor III
Contributor III
Author

great, thanks