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: 
brucemeyers
Contributor II
Contributor II

Load data current month

Where [Date] > MakeDate(2018,7,8) ;

If I understand right the syntax above says if the [Date] field is greater than 7/8/2018 then load the data.  How could I modify it to say if the [Date] field is in the current month then load the data? 

1 Reply
nasirsaikh
Creator
Creator

First Option

Let vCurrentMonth =  Date(Today(),'MMM-YYYY');

Where Date(YourDateField,'MMM-YYYY') = '$(vCurrentMonth)'

Or Second option

Where Date(YourDateField,'MMM-YYYY') = Date(Today(),'MMM-YYYY');