Creating a Pivot Table
A pivot table summarizes data for easier analysis by creating table row and column categories based on input data. For more information, see Pivot Tables.
In the Group Statistics stage options:- In the Operations tab, select a field from Input Fields which contains the data you want to use as the row labels in your pivot table. Then click the >> button next to the Rows field.
-
Select a field that contains the data you want to use as the columns in your
pivot table then click the >> button next to the
Columns field.
Tip: At this point, run inspection to see the results of your selections. This will help you visualize the results of the cross tabulations based on the columns and rows you have selected.
-
To skip sorting the input records, check Rows and Columns are
presorted in the configured order.
If this field is checked, the stage processes the input records without sorting them.Note: Check this if the records are already sorted.
-
To define the operation to be performed, click the >>
button next to the Operations field.
In the Add Operation window:
-
To define the output fields for each column in the pivot table, click the
Fields tab of the stage options.
Tip: In order to define fields accurately, run an inspection flow once, before this step, to see the column names generated by your data.
- Click OK.
For each input value you entered in the grid above, output columns are automatically created by mapping those against each of the selected Operation values. A Cartesian product of the entered input column values in the grid and the selected Operations is used to automatically generate the final output columns.
The names of these output columns follow the naming convention
Data_OperationOfInputFieldName,
where Data is the value you specified in the
first field, Operation is the operation you
selected in the Operation field, and
InputFieldName is input column on which
the Operation is performed.