website logo
Navigate through spaces
Carrot reference
⌘K
Carrot reference
Getting started with Carrot
Built-in Carrot filters
Carrot fields
Basic Org Information
Compensation
Job Changes
Permissions
Personal
Recruiting
Structure
Time off
Data types
Elements of Carrot expressions
Functions
Operators
Keywords
Aggregators
Docs powered by archbee 
website logo

Aggregators

An aggregator in Carrot appears as a word followed by curly brackets, which contain an expression. All aggregators are case-insensitive.

Aggregation is only available in reports. Smart calculations and buckets only evaluate data of an individual person or job.

An aggregator performs a calculation on an expression and returns a Number value based on the aggregator's logic. 

Aggregator list

Aggregator

Description

count{}

Counts the number of times a given expression evaluates to a truthy value. All non-truthy values, such as null, an empty string, 0, or false are discarded.

max{}

Returns the largest value of a given expression. All non-numeric values are discarded.

mean{}

Returns the average of all values of a given expression. All non-numeric values are discarded.

min{}

Returns the smallest value of a given expression. All non-numeric values are discarded.

sum{}

Returns the sum of all values of a given expression. All non-numeric values are discarded.



Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
count{}
Docs powered by archbee