codesnout.com

Excel Pivot Tables - Organise Your Raw Data

Google Ads

Step 1: Excel Pivot Tables :: Organise your raw data


Step 1: Excel Pivot Tables :: Organise your raw data

This section shows you;

Once we have organized our data correctly we can create an Excel Pivot Table report using the built-in Excel Pivot Table wizard.


Types of source data.

Excel Pivot Tables can use the following sources of raw data to base its reports upon; (As seen in Step 1 of 3 of the ‘Pivot Table and Pivot Chart Wizard’)

text

Microsoft Office Excel list or database.

Correct

text

Incorrect :: Common Errors

text

External Data Source.

You can use a database file, text file, or a source from the Web as the raw data for an Excel Pivot Table To organise external data correctly check the following;

Install the required tools and drivers  -

Retrieve the data before you start the wizard, if required.

  1. Office Data Connections (.odc)
  2. Query Files
  3. Query files (.dqy, .oqy, or .rqy) and Report Template (xlt)
  4. Parameter Queries
  5. Web Queries

Office Data Connections or odc ::

Office Data Connection, or .odc, files are the recommended method for retrieving external data for your Excel Pivot Table reports. You can use odc. Files;

  1. Whenever you're retrieving data from a single database table or
  2. from an OLAP database

This stops the need to either;

Query Files ::

(.dqy, .oqy, or .rqy)

and Report Template (xlt) ::

If you need to use a query file to retrieve the data, open the query file in Excel. To use a report template (.xlt) that doesn't already include an Excel Pivot Table report, open the template.

Parameter Queries ::

You must first create the parameter query in Microsoft Query before you can use a parameter query to retrieve the data. This is so that it returns the data to Excel. N.b. A Parameter query cannot be used to retrieve source data for an Excel Pivot Table from OLAP databases. see Help in Microsoft Query on how to create Parameter Queries.

Web Queries ::

You must first create a Web query and retrieve the data into Excel, prior to actually using the Web query to request data over the Internet. To create a Web query, go to Data > Import External Data > New Web Query.


Multiple Consolidation Ranges

The source data for an Excel Pivot Table can be based upon data from several different Excel lists. This can be achieved by using;

To organise data from multiple Excel lists correctly, check the following: (Also see ‘common errors’ illustration above)


Based on Another Excel Pivot Table Report

If you are going to be using the same data to create several Excel Pivot Table reports, you can minimize disk space by copying and pasting an existing Excel Pivot Table and using this for the basis of a new report. The copied Excel Pivot Table report automatically links to the original Excel Pivot Table saving space. N.b. Refreshing the data in the original Excel Pivot Table report refreshes the new reports it is based upon and vice versa.
To organise the data in the mother Excel Pivot Table report correctly check the following;

Ensure both Excel Pivot Table reports are in the same workbook. 

Copy and paste the original (mother) Excel Pivot Table report if it is in a different workbook.

Check the page field options for External Data settings::

If your original Excel Pivot Table report page field settings are set to retrieve external data for each page individually. You will need to change the page fields so they retrieve external data for all Page Field items at the same time.

To check the settings of the Page Field - double click the relevant Page Field in the Excel Pivot Table and select the Advanced button.

See "Structure of an Excel Pivot Table report," for more information on Page Fields.


Previous Section :: Excel Pivot Tables : Overview Next Section :: Step 2 : Create an Excel Pivot Table Report

About Us | Privacy Policy | Contact Us | ©2010 Thunderousity Information Management Solutions | www.autosnout.com - Car Performance Statistics Website Utilising SQL | SQL Blog |