Aggregate data
Last updated
Last updated
The Aggregate data action node is used to perform aggregations on data in . It is available in both Apps and Services.
In this example, no groupings or filters are applied. The chosen operator is Count, and the value should be written to the Count
property of the Target Data Source. Note that the Count operator does not require a property to aggregate by. The result is one object in the data source Order aggregates (temp)
with Count
equal to the total number of Orders.
Data Connector
Select a data source of type data connector to perform aggregations on.
Selection
Define the objects to aggregate.
All objects
Filtered selection
Filter
Available when Filtered Selection
is selected.
Sorting
Target Data Source
Specify a runtime-only data source or service variable to place the resulting data in.
Operation
Select how existing objects in the Target Data Source will be treated. If the Target Data Source is a service variable the operation will be limited to Update single cardinality object
.
Replace All Objects
: Remove any existing objects before creating the objects.
Update single cardinality object
: Update the selected property in the existing object.
Add to Data Source (merge duplicates)
: Keep any existing objects.
Group By
Only available if the Target Data Source is many-cardinality.
Optionally select one or more properties to group the data by and which property to write the group value to. This will create one aggregation per unique value of the selected property, and thus create multiple objects in the Target Data Source.
Aggregations
Add aggregations. For each aggregation, select an operator, a property to perform the operation on and the property in the Target Data Source to write the aggregated value to.
Count
Returns the number of objects. It does not require the selection of a property.
Sum
Returns the sum of the values of the selected property.
Average
Returns the average value of the values of the selected property.
Max
Returns the maximum value of the selected property.
Min
Returns the minimum value of the selected property.
Population Standard Deviation
Sample Standard Deviation
First
Returns the first value of the selected property.
Last
Returns the last value of the selected property.
Define the to apply to the data connector.
Add . The objects will be sorted before the grouping and aggregations are performed.
Calculates the population standard deviation of the values of the selected property. Use if the values encompass the entire population of data to be represented. Read more at
Calculates the sample standard deviation of the values of the selected property. Use if the values encompass a sample of a population of data from which to generalize about the population. Read more at