Creating a chart on a report

M

Michele E

I have created a report that shows the following:
Date by Month Machine No. Sum([Rolls Made]) Sum([Standard])
(which is total expected amount of rolls to be made for a given month) and
Sum([Rolls Made]/Sum([Standard]) (which is % of Standard)

My report looks like this
Month Machine Rolls Made Standard % of Standard
April 12 24 36
66.67

I want to add a bar graph to the bottom of the report that will show the
information for the month by machine. It would have the Machine No on the
X-axis and the % of Standard on the Y-axis for each machine. My problems s
that the % of Standard for the month is calculated by dividing the sum of the
total [Rolls Made] by the sum of total [Standard}.

How can I get the graph to show the appropriate information I'd like to see?

Thanks.
 
D

Duane Hookom

A chart has its own Row Source which could be something like:
SELECT Format([YourDate],"yy-mm") as YearMonth,
Machine,
Sum([Rolls Made])/Sum([Standard]) as PctOfStd
FROM somewhere
GROUP BY Format([YourDate],"yy-mm"), Machine;
 
Y

YOHAN AMAT

Michele E said:
I have created a report that shows the following:
Date by Month Machine No. Sum([Rolls Made]) Sum([Standard])
(which is total expected amount of rolls to be made for a given month)
and
Sum([Rolls Made]/Sum([Standard]) (which is % of Standard)

My report looks like this
Month Machine Rolls Made Standard % of
Standard
April 12 24 36
66.67

I want to add a bar graph to the bottom of the report that will show the
information for the month by machine. It would have the Machine No on the
X-axis and the % of Standard on the Y-axis for each machine. My problems s
that the % of Standard for the month is calculated by dividing the sum of
the
total [Rolls Made] by the sum of total [Standard}.

How can I get the graph to show the appropriate information I'd like to
see?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top