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: 
kishorj1982
Creator II
Creator II

getting selection for max year and previous month

Need to show default selection for Max years last month(Previous month).Can you please suggest how to go ahead.

Thanks

5 Replies
dsharmaqv
Creator III
Creator III

Not applicable

Hi Kishor,

Go to settings>>Document Properties>>Triggers>>Document Event Triggers>>On Open>>Add Actions>>Add>>selection>>Select in field>>enter the field eg(date) and max(date) in Search String

Regards,

Sanya

kishorj1982
Creator II
Creator II
Author

I have 2 separate field Month and Year

and selection would be March 2017 by default.

Thanks

dsharmaqv
Creator III
Creator III

So whats the issue?

chanin7893
Partner - Contributor III
Partner - Contributor III

Try This out

Month(AddMonths(Year(Max(Date),-1)))