I have another question in queries and charts. I ran a query to count the number of records present in a field and sorted it in ascending order. WHen i make the chart , it doesnt display it in ascending order , i wonder why.Below is the code. I was trying to make a pareto chart which would display our downtime type from the highest to the lowest but for some reason it displays as is.Help please!
SELECT tblDowntimeTable.Shift, tblDowntimeTable.Type01, Count(tblDowntimeTable.Type01) AS CountOfType01
FROM tblDowntimeTable
GROUP BY tblDowntimeTable.Shift, tblDowntimeTable.Type01, DatePart("ww",[tblDowntimeTable]![Date01])
HAVING (((tblDowntimeTable.Shift)=2))
ORDER BY Count(tblDowntimeTable.Type01);
SELECT tblDowntimeTable.Shift, tblDowntimeTable.Type01, Count(tblDowntimeTable.Type01) AS CountOfType01
FROM tblDowntimeTable
GROUP BY tblDowntimeTable.Shift, tblDowntimeTable.Type01, DatePart("ww",[tblDowntimeTable]![Date01])
HAVING (((tblDowntimeTable.Shift)=2))
ORDER BY Count(tblDowntimeTable.Type01);