R
RJF
I’ll explain the problem as best as I can.
I have a report based on a query. The query contains the following data:
Company_Name (Demo, Inc.)
MonthDate (01/2008)
ItemDescr (Copy and Printing)
Expected (125,000)
Actual (120,000)
The report is grouped by Company_Name, then ItemDescr, then sorted by
MonthDate. It runs great. Looks like this.
---------
Demo, Inc.
Copy and Printing
Month Expected Actual
01/2008 125,000 120,000
02/2008 125,000 127,000
---------
Now the problem… I put a graph in the same report using the wizard. It
also needs to be grouped by Company_Name and ItemDescr.
I placed the graph in the ItemDescr header. I tried to link the
Company_Name and the ItemDescr fields on the report with the graph but then
the graph appears blank. If I only link the ItemDescr field, the data
appears but it adds all the data from each Company_Name together on the same
graph. (Which is fine if I was only running it for one company.)
The statement behind the graph is:
SELECT MonthDate, Expected, Actual FROM qry_Results GROUP BY MonthDate;
How do I get the graph to be grouped by Company_Name AND ItemDescr?
Any help would be greatly appreciated.
Thank you,
I have a report based on a query. The query contains the following data:
Company_Name (Demo, Inc.)
MonthDate (01/2008)
ItemDescr (Copy and Printing)
Expected (125,000)
Actual (120,000)
The report is grouped by Company_Name, then ItemDescr, then sorted by
MonthDate. It runs great. Looks like this.
---------
Demo, Inc.
Copy and Printing
Month Expected Actual
01/2008 125,000 120,000
02/2008 125,000 127,000
---------
Now the problem… I put a graph in the same report using the wizard. It
also needs to be grouped by Company_Name and ItemDescr.
I placed the graph in the ItemDescr header. I tried to link the
Company_Name and the ItemDescr fields on the report with the graph but then
the graph appears blank. If I only link the ItemDescr field, the data
appears but it adds all the data from each Company_Name together on the same
graph. (Which is fine if I was only running it for one company.)
The statement behind the graph is:
SELECT MonthDate, Expected, Actual FROM qry_Results GROUP BY MonthDate;
How do I get the graph to be grouped by Company_Name AND ItemDescr?
Any help would be greatly appreciated.
Thank you,