C
CAM
Hello,
I have a bar chart that shows inventory by category and by month: For
example
-------------------------------------- By
Month ------------------------------------------------
Category Level 1 August 2006 September 2006 October 2006 November
2006 December 2006 January 2007
Software 8 9
10 8 20 15
Hardware 6 4
5 4 11 21
The problem is that in my legend and graph I can't seem to get the months
display correctly I get August 2006, December 2006,..... I don't want
that. I want to display as August 2006, September 2006 .......- January
2007 How can I get the month and year in the correct order? Below is my
code. Any tips or websit to visit will be appreciated. Thank you in
advance.
TRANSFORM Sum(qryCategoryChartPeriod.[CountOfCategory Level 1]) AS
SumOfCategory
SELECT qryCategoryChartPeriod.[Category Level 1]
FROM qryCategoryChartPeriod
GROUP BY qryCategoryChartPeriod.[Category Level 1]
PIVOT qryCategoryChartPeriod.[By Month];
I have a bar chart that shows inventory by category and by month: For
example
-------------------------------------- By
Month ------------------------------------------------
Category Level 1 August 2006 September 2006 October 2006 November
2006 December 2006 January 2007
Software 8 9
10 8 20 15
Hardware 6 4
5 4 11 21
The problem is that in my legend and graph I can't seem to get the months
display correctly I get August 2006, December 2006,..... I don't want
that. I want to display as August 2006, September 2006 .......- January
2007 How can I get the month and year in the correct order? Below is my
code. Any tips or websit to visit will be appreciated. Thank you in
advance.
TRANSFORM Sum(qryCategoryChartPeriod.[CountOfCategory Level 1]) AS
SumOfCategory
SELECT qryCategoryChartPeriod.[Category Level 1]
FROM qryCategoryChartPeriod
GROUP BY qryCategoryChartPeriod.[Category Level 1]
PIVOT qryCategoryChartPeriod.[By Month];