S
shane
I have written a query with the intent to select data from a table for the
last 12 months only and grouped by individual months.
My group by expression is:
(Year([customerdate])*12+Month([customerdate])-1)
My where expression is:
DateDiff("yyyy",[customerdate],Date())
Criterial is <=1.
Until the new year, these expressions worked together fine. Now it will
only pull data from the beginning of the most recent month. February will
all show up in April for example, but not all of March will.
I'm not sure what the fix is. Any help is appreciated.
last 12 months only and grouped by individual months.
My group by expression is:
(Year([customerdate])*12+Month([customerdate])-1)
My where expression is:
DateDiff("yyyy",[customerdate],Date())
Criterial is <=1.
Until the new year, these expressions worked together fine. Now it will
only pull data from the beginning of the most recent month. February will
all show up in April for example, but not all of March will.
I'm not sure what the fix is. Any help is appreciated.