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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
terezagr
Partner - Creator III
Partner - Creator III

Triggers on sheet properties: select current month and 6 previous months too

Hi all,

does anyone know how to set a trigger on open sheet to select current month and 6 previous months too?

Cheers,

T.

2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

I manage months in format 201401 as january 2014 and so on, in this case it is easy:

MyMonthField >= Year(AddMonths(Today(),-6))*100 + Month(AddMonths(Today(),-6)) and MyMonthField <= Year(Today())*100 + Month(Today())

Hope it helps

terezagr
Partner - Creator III
Partner - Creator III
Author

Thank you! Have to slightly modified that for my case, but otherwise works well!