B
Bryan
I want to compare YTD totals for '06 & '05. The expression below produces my
current YTD totals based on a date entered:
Cur YTD: Sum(IIf(Year([cases].[date])=Year([Enter End Date]) And
[cases].[date]<=[Enter End Date],[count],0))
I can't seem to modify this to reflect the previous years YTD totals.
PreYTD: Sum(IIf(Year([cases].[date])=Year([Enter End Date])-1 And
[cases].[date]<=([enter end date]-365),[count],0))
current YTD totals based on a date entered:
Cur YTD: Sum(IIf(Year([cases].[date])=Year([Enter End Date]) And
[cases].[date]<=[Enter End Date],[count],0))
I can't seem to modify this to reflect the previous years YTD totals.
PreYTD: Sum(IIf(Year([cases].[date])=Year([Enter End Date])-1 And
[cases].[date]<=([enter end date]-365),[count],0))