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: 
Not applicable

How to select dates for the current month

Hi QlikView experts,

I have a Date field "MM/DD/YY". I would like to pre-select dates that correspond to the current month OnActivateSheet.> Trigger action > Selection > Select in Field

Could you please help me to set up the right formula?

1 Solution

Accepted Solutions
maxgro
MVP
MVP

select in field           your date field

search string           ='>=$(=num(MonthStart(Today())))<=$(=num(MonthEnd(Today())))'

or

search string           ='>=$(=MonthStart(Today()))<=$(=MonthEnd(Today()))'

View solution in original post

2 Replies
Miguel_Angel_Baeyens

Hi Soraya,

If you have a calendar table with dates and month fields, then select the month that corresponds to today, something like

Select in field: Month

Value: Month(Today())

Miguel

maxgro
MVP
MVP

select in field           your date field

search string           ='>=$(=num(MonthStart(Today())))<=$(=num(MonthEnd(Today())))'

or

search string           ='>=$(=MonthStart(Today()))<=$(=MonthEnd(Today()))'