Hi
I have the following cross tab query
<--
TRANSFORM Sum(test.CountOfAttended) AS SumOfCountOfAttended
SELECT test.Course, Sum(test.CountOfAttended) AS [Total Of CountOfAttended]
FROM test
GROUP BY test.Course
PIVOT Format([Date],"mmm") In ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
-->
Basically down the left is a list of courses, along the top is each of the months and the values are the sum of the people who attended each course per month.
How can I filter out one particular year.
Our year starts in April through to March. So what I want to display is April - December for one year, then January to March for the following year.
Any help would be appreciated
Thanks
AP
I have the following cross tab query
<--
TRANSFORM Sum(test.CountOfAttended) AS SumOfCountOfAttended
SELECT test.Course, Sum(test.CountOfAttended) AS [Total Of CountOfAttended]
FROM test
GROUP BY test.Course
PIVOT Format([Date],"mmm") In ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
-->
Basically down the left is a list of courses, along the top is each of the months and the values are the sum of the people who attended each course per month.
How can I filter out one particular year.
Our year starts in April through to March. So what I want to display is April - December for one year, then January to March for the following year.
Any help would be appreciated
Thanks
AP