Pivot Function

Expand / Collapse
 

Pivot Function


Lesson 6: Pivot Function

Lesson 6-1 Creating a Pivot Report

Goal - The goal of this lesson is to create a report that uses the Pivot function to display data in a grid based format.

The Izenda reports Pivot feature allows users to generate analytical data grids from within Izenda reports. The Pivot feature essentially adds extra pivot columns to the right side of the report. This is useful for comparing data over multiple categorical dimensions.

Pivot View of the average amount spent on freight:


Create initial report:
  1. Click on the "Data Sources" tab and select desired data sources. (Ex. Orders)
  1. Click on the "Fields" tab.  Select the desired Field(s) names & attributes (Sorting, VG, Function, & Format)  for the report. (Ex. ShipCountry)

Before Pivot:


Create pivot view on above report:
  1. Under Fields tab, click the "Add Pivot" button.
  1. Drop down "Add pivot columns for".  Select the field you wish to display across the top of the pivot view (Ex. OrderDate), also select the function type from drop down (Ex. Group(Year & MN)).
  2. Drop down "Calculate cell values on".  Select the field you wish to display down the left side of the pivot view (Ex. Freight), also select the function & format types from the drop downs (ex. Average & $0.00).  **This field's data will also populate the rows within the pivot view.
  3. Optional:  Select the "Add subtotals using" drop down.  Select the desired function. (Ex. Sum)
  4. Click Preview

After Pivot:




Essentially, the pivot capability adds additional columns based on the data to the right of the report. In this example, the first column is essentially a standard report and the 2006, 2007 and 2008 columns were added by the pivot capability

Standard Report View:


Columns added by Pivot:



Let's use these concepts to develop a more sophisticated report that shows us a monthly time-series report for each county visually grouped by employee.

First let's setup the non-pivot part of the report:

Non-Pivot Report View:



Here's how we do it:

  1. Here we select and visually group by employee (by clicking the VG checkbox for that field).
  2. We sort on ShipCountry and Sum the Freight.

  3. We then add subtotals using the Sum function to give us a summary line for each employee.

Report Designer Setup without Pivot:



Now that the non-pivot is complete, let's do a monthly pivot:

  1. We select the OrderDate to pivot on.
  2. Select the Group(Year & MN) for the formatting of the column names.

  3. Select the sum of freight for the cells.



Finally, here are the results of the report with Pivot:


**Note: The Pivot function is by default turned off.  To activate the Pivot function see Show Pivot".



Details
Type: FEAT
Options