Skip to content

Group by Sql builder

This step allows you to calculate values over a defined group of fields. Examples of common use cases are: calculate the average sales per product or get the number of yellow shirts that we have in stock.

This step read data using SQL Group by from specified table.

The following table provides a description of the options available for the Group By step:

OptionDescription
Step nameName of the step; this name has to be unique in a single transformation.
ConnectionThe database connection to which data is read from
SchemaThe name of the Schema for the table to write data to. This is important for data sources that allow for table names with periods in them.
TableThe name of the table to which data is read from.
Group fields tableSpecify the fields over which you want to group. Click Get Fields to add all fields from the input stream(s).
Aggregates functionsSpecify the fields that must be aggregated, the method and the name of the resulting new field. Here are the available aggregation methods : Sum, Average, Minimum, Maximum, Count