| | Product Information Help and How-to Training Templates Support and Feedback Technical Resources Additional Resources | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
About designing a PivotTable or PivotChart view
When you first open a datasheet or form in PivotTable (PivotTable view: A view that summarizes and analyzes data in a datasheet or form. You can use different levels of detail or organize data by dragging the fields and items or by showing and hiding items in the drop-down lists for the fields.) or PivotChart view (PivotChart view: A view that shows a graphical analysis of data in a datasheet or form. You can see different levels of detail or specify the layout by dragging fields and items or by showing and hiding items in the drop-down lists for the fields.), the view does not include fields from the underlying record source (record source: The underlying source of data for a form, report, or data access page. In an Access database, it could be a table, query, or SQL statement. In an Access project, it could be a table, view, SQL statement, or stored procedure.) or form. The following illustration shows the Employees table when opened for the first time in PivotTable or PivotChart view. 
Adding a PivotTable view
Use the field list to view the list of fieldsets and fields that are available from the source data and to add fields to the row (row area: The part of PivotTable view that contains row fields.), column (column area: The part of PivotTable view that contains column fields.), filter (filter area: The part of PivotTable or PivotChart view that contains filter fields.), and detail areas (detail area: The part of PivotTable view that contains detail and total fields.) of the PivotTable view. In the field list, the fields that are not bold are available but not yet displayed in the PivotTable view. The bold fields are already displayed. You can scroll and click the expand indicators ( or boxes) next to the fieldsets to show or hide fields in the field list.
The following illustration shows the Employees table in PivotTable view. The view shows details of employees in each city.

City field is in the filter area.
Title field is in the row area.
Hire Date field is in the column area.
Last Name field is in the detail area.
Adding fields to the detail area
Use detail fields (Detail field: A field that displays all rows, or records, from the underlying record source.) to display detail data and see what data is available to be summarized. When you add fields to the detail area, you display all of the detail records from the source data for the fields. Field names become column labels, and the detail records are displayed in rows below the column labels.

Detail fields
Detail data
You can also add a calculated detail field that uses an expression (expression: Any combination of mathematical or logical operators, constants, functions, and names of fields, controls, and properties that evaluates to a single value. Expressions can perform calculations, manipulate characters, or test data.) to calculate detail values.
Adding total fields
You can create new fields by adding total fields (total field: A field that summarizes data from the underlying record source. A total field might use a summary function, such as Sum or Count, or use an expression to calculate summary values.) to the PivotTable view. Total fields summarize detail data. For example, if the datasheet or form includes a Sales field that shows the amount of each sale, you could add a Sum of Sales total field to calculate the total sales, or a Count of Sales total field to calculate how many units were sold.
You can also add a calculated total field that uses an expression (expression: Any combination of mathematical or logical operators, constants, functions, and names of fields, controls, and properties that evaluates to a single value. Expressions can perform calculations, manipulate characters, or test data.) to calculate total values.
Removing fields
To eliminate data that you don't want to see or summarize in the view, you can remove fields from the PivotTable view layout. Removing a field does not remove it from the available source data. A field that you remove is no longer displayed in the PivotTable view, but it remains available in the field list for viewing.
Moving fields
After you add a field to a PivotTable view, you can move it to other areas. When you move a field, you change the layout of the PivotTable view, and you change the data that's displayed and the summaries that are calculated.
Saving your changes
If you have made changes to the layout of a form in PivotTable or PivotChart view, Microsoft Access automatically saves your changes when you close the object. If you have made changes to the layout of a datasheet in one of these views, Access asks whether you want to save your changes before quitting.
Layout information is not stored separately for each user. For example, if another user opens a form in PivotChart view and makes changes to the layout, the next time you open the form in PivotChart or PivotTable view, you will see the layout as it was modified by the other user.
Adding a PivotChart view
Use the field list to view the list of fieldsets and fields that are available from the source data and to add fields to the category, series, filter, and MultiChart areas of the PivotChart view. In the field list, the fields that are not bold are available but not yet displayed in the PivotChart view. The bold fields are already displayed. You can scroll and click the expand indicators ( or boxes) next to the fieldsets to show or hide fields in the field list.
Moving fields to the data area
Data fields provide the values to be summarized in the chart. When you move a field to the data area, the values from the field are used as the data that is measured in the chart.
Moving fields to the filter area
A filter field is similar to a page field in a Microsoft Excel PivotTable report. Filter fields allow you to confine the view to a particular part of the available data. For example, when you move a Product field to the filter area, you can have the chart display category and series values for one product at a time.
Moving fields to the MultiChart area
When your chart is based on data from a PivotTable list or from a database table or query, you can plot multiple charts. When you move a field to the MultiChart area, items in that field become separate charts. For example, if you move the Salesperson field to the MultiChart area, a chart is created based on data for each salesperson in that field. In the following example, the Salesperson field is in the MultiChart area, but it's filtered so it displays individual charts for Buchanan and Davolio.

Adding and removing fields
The layout of a chart does not have to include all fields that are available from the source data. If more data is available, you can add fields to the chart. For example, if the chart summarizes sales revenue, and the source data also includes sales quantities, you might add the Quantity field as a data field to summarize both revenue and quantity of products sold. You can also remove fields from the chart layout that you no longer want to see.
|