Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Jacob
Contributor III
Contributor III

Previous Year Month

Hi All, I am trying to retrieve previous year month . Current_Year Current_Month 2019 May Want to retrive last year month 2018 May how can i do plz help
1 Reply
tresB
Champion III
Champion III

You can use either


addyears([yourdate], -1) or,
addmonths([yourdate, -12])

Getting right expected result might depend on your field value. Try like:

MonthName(Addyears(today(), -1))