I have a business and I have cases for clients. Each case has a Due date and a completed date. I want to use the DateDiff expression to tell me how many of my cases exceeded their due date. So I wanted to use the DateDiff and then set a criteria of ">1" to represent all cases that went "past due".
Any help would be greatly appreciated!
Here is what I have so far:
TRANSFORM DateDiff("d",[Due Date],[Date Completed]) AS Expr2
SELECT ClosedAdHoc.[Case Number], Count(ClosedAdHoc.[Case Number]) AS [Total Of Case Number]
FROM ClosedAdHoc
WHERE (((DatePart("yyyy",[Date Completed]))=2013))
GROUP BY ClosedAdHoc.[Case Number]
PIVOT Format([Date Completed],"mmm") In ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug"," Sep","Oct","Nov","Dec");