Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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 Solution

Accepted Solutions
sibusiso90
Creator III
Creator III

where month(date)>=month(today())

This will look at today and find it's month.

View solution in original post

2 Replies
sibusiso90
Creator III
Creator III

where month(date)>=month(today())

This will look at today and find it's month.

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');