Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
nicogene
Partner - Contributor III
Partner - Contributor III

Last n period (trigger)

Dear all,

I try to get the last 12 periods by clicking on the tab 2 (with implementation of an action) .qvw is attached
With max formula max (Period), it works with the last period.
but max (Period-12) doesn't work.

Thank you for your help


Best regards,

Nicolas Généré.

11 Replies
Not applicable

Hi,

please use   =AddMonths( (max(Period)),-12)

Good luck!

Rainer

bismart
Creator
Creator

Use

=addmonths(max(Period),-12) as your expression for max Period - 12