O
Opal
I have the following select query:
SELECT DISTINCT (Format([ProblemDate],"mmm"" '""yy")) AS DateOpen,
Count(Problem.ClosedDate) AS CountOfClosedDate,
Count(Problem.ProblemDate) AS CountOfProblemDate
FROM Problem
GROUP BY (Format([ProblemDate],"mmm"" '""yy"));
and I want to add an expression that will calculate the following:
previous month's (i.e. Jan) outstanding open problems plus February's
new problems opened minus February's problems closed and so on
so I would get a running number like:
O/S New closed Result
Jan 08 4 52 30 26
Feb 08 26 59 48 37
Mar 08 37 80 58 59
Can someone point me in the right direction to pull this together?
SELECT DISTINCT (Format([ProblemDate],"mmm"" '""yy")) AS DateOpen,
Count(Problem.ClosedDate) AS CountOfClosedDate,
Count(Problem.ProblemDate) AS CountOfProblemDate
FROM Problem
GROUP BY (Format([ProblemDate],"mmm"" '""yy"));
and I want to add an expression that will calculate the following:
previous month's (i.e. Jan) outstanding open problems plus February's
new problems opened minus February's problems closed and so on
so I would get a running number like:
O/S New closed Result
Jan 08 4 52 30 26
Feb 08 26 59 48 37
Mar 08 37 80 58 59
Can someone point me in the right direction to pull this together?