Pivot table: overview

Each flexYgrid panel contains a built-in pivot table function that lets you build summarized reports of the data in your current grid panel. Using the cell values of your choice as source values, you can select and apply operators to customize the way these values will be displayed in the table. All data that is shown, and not expressly filtered out of your current flexYgrid panel, will be used in your pivot table.
The resulting pivot table grid will display aggregation of your data arranged according to the row and column information you have set.


NOTE

You can find more information about pivot tables, including a practical use case, in this 

Ytria Blog Post

.


Create Pivot Table

The Create Pivot Table command is found in both the toolbar and right-click menu.


TopGrid03

Ctrl  +  Shift  +P

Create Pivot Table: This function will launch the Pivot Table Setup dialog where you can select the labels for the columns and rows, as well as set the values to use in building your pivot table. You can also select from different formatting options.



Pivot Table Row and Column Structure


pivot-table-row-and-column-structure

In the example pivot table shown above, an entire server has been analyzed to find the ODS versions of each database. The following characteristics are shown:


    The Pivot Table Setup Dialog

    The Pivot Table Setup dialog is where you will select which columns to use as Column Labels, which columns to use a Row Labels, and the columns that will define which values to focus on when building your pivot table.

    pivot-table-setup-dialog

    Available Columns

    This is a list of currently available columns (properties) that can be used as Column and Row Labels, as well as to define the Values the pivot table will focus on.



    v16_fgrid_pivot_oView_3.gif



    'Show hidden columns' : Use this option to include ALL columns in the 'Available Columns' list. By default, only the columns that are set as   'Visible'   in your current flexYgrid panel will be shown. This setting can be saved as part of your Default pivot table configuration.

    FilterSort, and  Search  functions are available for this list, as are some right-click menu options.

    NOTE

    Clicking the left/right arrows moves highlighted columns to and from selection boxes.
    To  add columns:  Select one or more columns and use the  green-arrow-right-icon  button.
    To  remove columns:  Select one or more columns and use the  green-arrow-left-icon  button.



    Label Selection Windows

    These windows show the currently selected columns (properties) that have been selected to label Columns and Rows, as well as be the focus Values the will make up the pivot table.

    Various formatting options are available uniformly throughout the selection windows, as are some  Grid Tools & Options.

    All selectable variables within these windows can be saved as part of your Default pivot table configuration.

    Columns to use as Column Labels

    v16_fgrid_pivot_oView_4.gif

    This window shows the columns (properties) that are currently selected to be used as Column Labels in your pivot table.

    Standard  header formatting  options are available.

    The formatting on Column Labels takes place before any calculations in the pivot table and thus, in the case of number values, can affect the way that data is aggregated.


    Columns to use as Row Labels

    v16_fgrid_pivot_oView_5.gif


    This window shows the columns (properties) that are currently selected to be used as Row Labels in your pivot table.

    Standard  header formatting  options are available.

    The formatting on Row Labels takes place before any calculations in the pivot table and thus, in the case of number values, can affect the way that data is aggregated.


    Columns to use as Values

    v16_fgrid_pivot_oView_6.gif

    This window shows the currently selected columns (properties) that your pivot table will use as Values.

    You can apply a variety of formatting options, as well as  Unique Index  references to your Values.

    Standard filter and search options are also available.



    NOTE

    Organizational functions:

    organizational-functions

    Click on the appropriate arrow to move a column title up or down in a label window.


    Within the right-click menu:

    move-up-icon  Move Up

    move-down-icon  Move Down

    Please note that moving columns will affect the resulting pivot table; the column order is taken into account when calculating totals and sub-totals.

    remove-the-selected-row  Remove: Remove the selected row.

    remove-all-rows  Remove All: Remove all rows.


    Options

    pivot-table-overview-options


      Pivot Table Colors


      You may select the colors you wish to use as background cell colors for the corresponding cell types here. These can saved as part of your default pivot table configuration.
      pivot-table-overview-colors

      Setup and Build

      pivot-table-overview-setup-build

        NOTE

        You can set a default configuration for the pivot table builder in every flexYgrid panel. You must have a saved default configuration in order to load a default configuration.