G
Guest
Hello,
I have a crosstab query which looks like such.
Column Jan Feb Mar April and thru dec.....
Row 1 15 0 34 0
Row 2 9 10 0 23
Row 3 1 4 3 56
and such...
I wan the crosstab to limit the data to the last 6 months from current from.
How do I do this..? sequel is as follows.
TRANSFORM Count([Exceptions Table].Department) AS CountOfDepartment
SELECT [Exceptions Table].badge, Count([Exceptions Table].Department) AS
[Total Of To]
FROM [Exceptions Table]
GROUP BY [Exceptions Table].badge
PIVOT Format([Date:],"mmm") In
("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
Any help would be great...Thank you.
Lou
I have a crosstab query which looks like such.
Column Jan Feb Mar April and thru dec.....
Row 1 15 0 34 0
Row 2 9 10 0 23
Row 3 1 4 3 56
and such...
I wan the crosstab to limit the data to the last 6 months from current from.
How do I do this..? sequel is as follows.
TRANSFORM Count([Exceptions Table].Department) AS CountOfDepartment
SELECT [Exceptions Table].badge, Count([Exceptions Table].Department) AS
[Total Of To]
FROM [Exceptions Table]
GROUP BY [Exceptions Table].badge
PIVOT Format([Date:],"mmm") In
("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
Any help would be great...Thank you.
Lou