âShow Table of Contents
The Summarize In-DB tool summarizes data by grouping, summing, counting, counting distinct fields, and more. The output contains only the result of the calculations.
Drag a Summarize In-DB tool from the Tool Palette onto the workflow canvas.
Connect another In-DB tool's output to the input of the Summarize In-DB tool.
With the Summarize In-DB tool selected, configure the tool using the Properties window on the left.
Data fields from the input appear in the Fields section. Click to select the field to perform summaries on (Shift + click to select multiple fields to execute the same summary).
Use the Select Menu to the right to Select to make multiple field selections Choices include:
All: all fields are selected to apply to actions.
None: deselects all fields.
Numeric: only numeric fields are selected (integers, fixed decimals, floats, doubles) to apply to Actions.
String: only string fields are selected to apply to Actions.
Spatial: only spatial fields are selected to apply to Actions.
With the field(s) selected, click the Add button.
Make the selection and it will appear in the Actions section. Different summary functions are available depending on the type of data field selected.
Summarize functions include:
Group by: Combines database records with identical values in a specified field into a single record. All of the resulting data from the records in a group are then summarized. (any non-blob or spatial object has this option)
If no Group by field is specified, the entire file will be summarized.
Count: count of records in the group
Count Distinct: count of unique records in the group
Count non Null: count of unique records in the group that are not null. (A Null field means there is no value set for this field; this is different from having a zero or an empty string.)
Min : returns minimum value
Max : returns the maximum value
Numeric summarize functions include:
Sum: Returns the sum value for the group. The sum is calculated by adding all of the values of a group.
Average: Calculates an average value for the group. The average is calculated by taking the sum of all values divided by the total number of values.
Standard Deviation: Calculates the standard deviation for the group. Standard Deviation is a measurement variability used in statistics.
Variance: Calculates the Variance for the group. The variance is calculated by taking the Standard Deviation and multiplying it times itself, StdDev^2.
From the Actions section, you can select the field and use the up, down, and delete buttons to specify field order for the output.
Rename a field by typing a new field name into the Output Field Name column.
Properties: Additional properties need specification for certain actions. Actions with additional properties specification include: Concatenate Strings and Finance actions. See Summary Processes for more detail.
The output contains only the result of the calculations.
Â©2017 Alteryx, Inc., all rights reserved. AllocateÂ®, AlteryxÂ®, GuzzlerÂ®, and SolocastÂ® are registered trademarks of Alteryx, Inc.