Skip to main content



Collection Functions

Return values from a collection based on a filter.

Collection FunctionDescription
AverageReturns the average of a specified field or expression across a collection.
AvgReturns the average of a specified field or expression across a collection.
CollectionLookupThe CollectionLooup function returns the value of a field or expression for the first collection member that satisfies a given filter expression.
CountThe Count function returns the number of members in a collection.
CurrentReturns the value of a field within the context of current expression.
CurrentContextReturns the value of a field within the context of current expression.
GetFirstThe GetFirst function returns the first collection member that satisfies a given filter expression.
GetFirstValueReturns the specified field value of first member of collection which can be sorted and filtered. In case of failed lookup, a default value must be specified.
GetLastThe GetLast function returns the last collection member that satisfies a given filter expression.
GetLastValueReturns the specified field value of last member of collection which can be sorted and filtered. In case of failed lookup, a default value must be specified.
GetMemberReturns the first member that matches the filter criteria.
GetMemberByIndexReturns the member at an index in a collection which can be ordered and filtered using filter expression.
GetMemberValueThe GetMemberValue function returns the specified field value of the first collection member that satisfies a given filter criteria.
GetMemberValueByIndexReturns the specified field value of member at an index in collection which can be ordered and filtered using filter expression.
MaxReturns largest value of a member field or expression across a collection.
MinReturns smallest value of a member field or expression across a collection.
OuterReturns the value of a field within the outer context of an aggregate expression.
OuterContextReturns the value of a field within the outer context of an aggregate expression.
SumReturns the sum of a specified member or expression across a collection.