Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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