Module 5 - Data Visualization.pptx (1)
Module 5 - Data Visualization.pptx (1)
Visualizing and
Exploring Data
Data Queries: Tables, Sorting, and
Filtering
? Managers often need to sort and filter data.
◦ Filtering means extracting a set of records having
certain characteristics.
? Excel provides a convenient way of formatting
databases to facilitate analysis using sorting and
filtering, called Tables.
Example 3.10: Creating an Excel Table
? First, select the range of the data, including headers (a useful shortcut is to
select the first cell in the upper left corner, then click Ctrl+Shift+down arrow,
and then Ctrl+Shift+right arrow).
? Next, click Table from the Tables group on the Insert tab and make sure that
the box for My Table Has Headers is checked. (You may also just select a
cell within the table and then click on Table from the Insert menu.)
? The table range will now be formatted and will continue automatically when
new data are entered.
? If you click within a table, the Table Tools Design tab will appear in the
ribbon, allowing you to do a variety of things, such as change the color
scheme, remove duplicates, change the formatting, and so on.
Example 3.11: Table-Based
Calculations
? Suppose that in the Credit Risk Data table, we wish to calculate the
total amount of savings in column C. We could, of course, simply
use the function =SUM(C4:C428). However, with a table, we could
use the formula =SUM(Table1[Savings]). The table name,Table1,
can be found (and changed) in the Properties group of the Table
Tools Design tab. Note that Savings is the name of the header in
column C. One of the advantages of doing this is that if we add new
records to the table, the calculation will be updated automatically,
Sorting Data in Excel
75% of the bicycle inventory value comes from 40% (9/24) of items.
Filtering Data
? For large data files, finding a particular subset of
records that meet certain characteristics by sorting
can be tedious.
? Excel provides two filtering tools:
◦ AutoFilter for simple criteria, and
◦ Advanced Filter for more complex criteria.
Example 3.14: Filtering Records by Item
Description
In the Purchase Orders database, suppose we are interested in extracting
all records corresponding to the item Bolt-nut package.
90.3rd percentile
= $74,375
(same result as
manually computing
the 90th percentile)
Initial PivotTable
for Regional
Sales by Product
The PivotTable
defaults to a sum
of the field in the
Values area.
We seek a count
of the number of
records in each
category.
Changing Value Field Settings
Cross-tabulation
“sliced” by E-mail
PivotTable Dashboards
? The camera tool is useful for creating
PivotTable-based dashboards.
? If you create several different PivotTables and
charts, you can easily use the camera tool to take
pictures of them and consolidate them onto one
worksheet.
? In this fashion, you can still make changes to the
PivotTables and they will automatically be
reflected in the camera shots.
Camera-Based Dashboard Example