The table summarizes the aggregation functions available in APL. Use all these aggregation functions in the context of the summarize operator.

FunctionDescription
avgReturns an average value across the group.
avgifCalculates the average value of an expression in records for which the predicate evaluates to true.
countReturns a count of the group without/with a predicate.
countifReturns a count of rows for which the predicate evaluates to true.
dcountReturns an estimate for the number of distinct values that are taken by a scalar an expressionession in the summary group.
dcountifReturns an estimate of the number of distinct values of an expression of rows for which the predicate evaluates to true.
histogramReturns a timeseries heatmap chart across the group.
make_listCreates a dynamic JSON object (array) of all the values of an expression in the group.
make_list_ifCreates a dynamic JSON object (array) of an expression values in the group for which the predicate evaluates to true.
make_setCreates a dynamic JSON array of the set of distinct values that an expression takes in the group.
make_set_ifCreates a dynamic JSON object (array) of the set of distinct values that an expression takes in records for which the predicate evaluates to true.
maxReturns the maximum value across the group.
maxifCalculates the maximum value of an expression in records for which the predicate evaluates to true.
minReturns the minimum value across the group.
minifReturns the minimum of an expression in records for which the predicate evaluates to true.
percentileCalculates the requested percentiles of the group and produces a timeseries chart.
percentileifCalculates the requested percentiles of the field for the rows where the predicate evaluates to true.
rateCalculates the rate of values in a group per second.
stdevCalculates the standard deviation of an expression across the group.
stdevifCalculates the standard deviation of an expression in records for which the predicate evaluates to true.
sumCalculates the sum of an expression across the group.
sumifCalculates the sum of an expression in records for which the predicate evaluates to true.
topkcalculates the top values of an expression across the group in a dataset.
varianceCalculates the variance of an expression across the group.
varianceifCalculates the variance of an expression in records for which the predicate evaluates to true.