Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next...

Post on 31-Dec-2015

214 views 0 download

Tags:

Transcript of Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next...

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11Committed to Shaping the Next Generation of IT

Experts.

Chapter 5

PivotTables and Charts Robert Grauer, Keith Mulbery, Maurie Wigman Lockley

Exploring Microsoft Office Access 2007

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 22

Objectives

Understand PivotTables and eggs Create and edit pivot views Add fields to Pivot view Calculate aggregate statistics Add and remove pivot fields

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 33

Objectives

Understand how to use graphics effectively Design and understand chart types and

elements Edit a PivotChart Customize PivotTable and PivotCharts Create calculations in a PivotTable

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 44

PivotTables

Interactive table that shows how information fits together

Helps organize and compare data Allows view of patterns, trends, and relationships

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 55

Create a PivotTable

Assemble source data in a single object May be based off a table, query or form

Drag fields to appropriate area of design grid Fields are selected and dragged from the Pivot

Table Field List Calculate necessary statistics

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 66

Terminology - Column Field

Source data field that is assigned to a column

Column Field

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 77

Terminology - Row Field

Source data field that is assigned to a row

Row Field

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 88

Terminology Page Field (Filter Field)

Allows display of data for single or multiple items

Before page field filter applied

After page field filter applied

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 99

Terminology - Item

Represents a member of a field

All is an item

Northwind Traders Chai is an item

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1010

Terminology - Data Field

Provides data values to be summarized Usually will contain numbers

Amount is a data field

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1111

Terminology - Drop Zones

Areas that accept dropped data from the field list

Row drop area

Details/Totals drop area

Filter drop area

Column drop area

Field list

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1212

Add Fields to Pivot View

Drag and Drop Add to button

Drag and drop a field

Click Add to after selecting the appropriate field and choosing the correct area

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1313

Remove Fields from a PivotTable

Click Remove Field from Active Field group Right click the field; select Remove

Choose Remove from shortcut menu

Remove field in Active Field group

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1414

Create Summary Statistics

Click AutoCalc in the tools group Right click, choose Autocalc

Choose AutoCalc and the appropriate aggregate function from the shortcut menu

Click the AutoCalc button and the appropriate aggregate function from the Tools group

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1515

PivotCharts

Allow a visual representation of data

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1616

Create a Pivot Chart

All PivotTables create PivotCharts Plan your design before you create Determine data to be used in the chart

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1717

Discrete and Continuous Data

Two types of chart data Discrete data

Cannot be broken into smaller increments Continuous data

Can be broken into smaller segments

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1818

Chart Types – Column Chart

Column Charts generalize across all data types and most applications

The default chart type in Access

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1919

Chart Types – Bar Chart

Differs from a column chart only in orientation

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2020

Chart Types – Line Chart

Describes continuously distributed data Should only be used for continuous data

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2121

Chart Types – Pie and Donut

Describe parts in relation to a whole

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2222

Chart Elements

Many chart elements derive their names from the data used to create them.

Other chart elements are standard

Axis Title

Axis Title

Legend

Plot Area

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2323

Methods of Chart Creation

Right Click PivotTable or Query tab Select PivotChart View

From the Views Group, click Views Choose PivotChart View

From the Create Tab, Forms Group Choose PivotChart View

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2424

PivotChart Design Grid

Drop Fields are similar to those found in the PivotTable design grid

Drop data field

Drop category field

Drop series field

Drop filter field

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2525

Add Fields to Blank Pivot Chart Design Grid

Drag and Drop Add to button

Drag and drop a field

Click Add to after selecting the appropriate field

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2626

Filter Field

Click arrow beside the field name Choose the item(s) to represent in the chart Underlying PivotChart and PivotTable

change to reflect choices

Click arrow to filter

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2727

Edit A Pivot Chart Element

Click an individual element or series

Click Property Sheet in the Tools group

OR Right Click element(s),

Choose Property Sheet Property sheet tabs vary

according to element(s) selected

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2828

Edit A Pivot Chart- Border and Fill Tab

Controls the border or line around an object Allows you to define an objects color and pattern

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2929

Remove Fields from a PivotChart

Click Remove Field from Active Field group Drag Field off the design grid

Cursor will be represented by a red “X”

Remove field in Active Field group

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 3030

Creating Calculated Fields in a PivotTable

Calculated Detail Field Calculates all detail fields

Calculated Totals Fields Customizes aggregate data

Click Formulas in the Tools Group

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 3131

Creating Calculated Fields in a PivotTable (Continued)

Field names are surrounded in brackets Click change to see calculations in table

Field names enclosed in brackets

Change button

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 3232

Formatting Calculated Fields

Use the Format Tab on the Properties Sheet You can change

text properties column width background color and more

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 3333

Change the Caption

Use the Captions tab in the Properties box Allows selecting and changing of

captions/properties for calculated fields Also allows you to change the caption for the Report

Title bar

Copyright © 2008 Pearson Prentice Hall. All rights reserved. 3434