MS Graph problem on a form (1 Viewer)

LAS

New member
Local time
Yesterday, 22:15
Joined
Sep 7, 2011
Messages
6
I have a graph on a form. The form has no datasource. The graph's
rowsource is a table/query:

SELECT qryLevelsAll.Week_of, Avg(qryLevelsAll.Level) AS AvgOfLevel
FROM qryLevelsAll
GROUP BY qryLevelsAll.Week_of
ORDER BY qryLevelsAll.Week_of;

When this SQL is executed I get two rows:

Week_of AvgOfLevel
9/5/2011 2.575
9/12/2011 2.8

When I remove the average and Group By I get 6 rows:

Week_of Level
9/5/2011 2.7
9/5/2011 2.6
9/5/2011 2.5
9/5/2011 2.5
9/12/2011 2.8

I would expect the chart to show points across the bottom, 9/5/2011 and
9/12/2011. Instead I get the EIGHT dates from 9/5 through 9/12.

Can anyone tell me what I'm doing wrong?

TIA
LAS
 

Users who are viewing this thread

Top Bottom