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?
where month(date)>=month(today())
This will look at today and find it's month.
where month(date)>=month(today())
This will look at today and find it's month.
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');