Article ID: 207636 - Last Review: June 28, 2004 - Revision: 2.0 HOW TO: Create a Chart That Does Not Summarize Data in Access 2000This article was previously published under Q207636 On This PageSUMMARY
When you create a chart in Microsoft Graph, data is automatically
summarized for each distinct value on the x-axis, which is also known as
the independent axis. For example, if you plot a field that contains dates
along the x-axis, and if more than one record contains a particular date in
that field, that date appears only once on the x-axis. The values in the
data field of any records that contain that date are summarized according
to the function that you have selected (Sum, Average, or Count, for example). The result is a single value that is represented in the chart. Therefore, the chart displays only a single data point for a particular date, even though there may be multiple records corresponding to that date.
However, you may not want to summarize your data. For example, if you have three records that contain a particular date, you may want your chart to display three distinct data points for that date. You must change the SQL statement on which the chart is based to prevent the data from being summarized. The layout screen of the chart wizard allows to you specify how you want to summarize the data. By default, data is summarized by Sum, and the caption of a field button that corresponds to a data field is "SumOfFieldName" where FieldName is the name of the data field. When you double-click a field button in the Data box, the Summarize dialog box appears, and you can select a function by which to summarize the data. However, if you select None in the Summarize list, and then click OK, and if the axis box contains a field whose data type is Date/Time, you receive the following error message when you click Next to advance to the next screen of the chart wizard:
All data fields must be summarized (using Sum, Avg, Min, Max or
Count) when a date field is used in the Axis or Series. To change the
way a field is summarized, double-click it.
Create the Data
Create the ChartTo create a chart based on the tblChartData table, follow these steps:
Change the Chart's Underlying SQL Statement
REFERENCES
You can also create and save a query and then use that query as the row
source of the chart.
For additional information about how to use a saved query asthe row source of a chart, click the article number below
to view the article in the Microsoft Knowledge Base:
208651
(http://support.microsoft.com/kb/208651/EN-US/
)
ACC2000: How to Change the Order of Columns in a Chart
| Article Translations
|
Back to the top
