The easiest way to create a PivotTable in Microsoft Excel is to create a cross-tab report and output the report to an Excel PivotTable. However, you may also wish to create a PivotTable from a quick report or other type of report. Here's a step-by-step guide to doing that. These instructions assume you're using Microsoft Excel 2007; if you have another version, the exact steps vary somewhat.
Create a report containing the fields you'd like to create a PivotTable on. For example, say you want to analyze sales by country and product. Create a new report and select Country from the Customers table, Product Name from the Products table, and Total Price from the Order Details table.
Set any desired filter for the report.
Output the report to a Microsoft Excel - Data Only file by going to Output page in the Reports Explorer, choosing File for the Output to option, clicking the File button, choosing Microsoft Excel - Data Only (*.xls) in the Save as type option, entering the name of the file to create, and clicking Save. Click the Process button to create the file.
Start Microsoft Excel and create a new document. From the Insert tab of the ribbon, choose PivotTable. In the Create PivotTable dialog, select Use an external data source, then click the Choose Connection button.
In the Existing Connections dialog, click the Browse for More button. In the Select Data Source dialog, select the directory where you told Stonefield Query to create the Excel file and select the file. Click Open.
In the Select Table dialog, click OK. Click OK in the Create PivotTable dialog.
In the Pivot Table List, turn on the fields you want included in the PivotTable.
Excel immediately creates a PivotTable for you. Format the PivotTable, filter certain values out of the rows or columns, print the table, save it, etc.
© Stonefield Software Inc., 2018 • Updated: 06/07/16
Comment or report problem with topic