Kinabase Logo
Help & Support

Aggregation Fields

Roll up totals, averages and counts from linked records


An Aggregation Field

summarises many linked records into a single number - a total, an average, a count, and more. On an Order record, an aggregation can total the price of every linked line item; on a Project, it can count the open tasks or add up the hours across linked build steps. The value recalculates by itself as the underlying records change, so your roll-ups are always current.

Aggregations work over a linked collection, so you'll usually add a linked collection field first.


1. Create an aggregation field

1. Open the Fields pane

Open the collection

, click the options menu (⋯) and select Configure (or right-click the collection in the sidebar and choose Configure), then under Setup click Fields.

You'll need Configure permission

for the collection. If you're unsure, ask your System admin.

2. Add the field

Click Add field, give it a Name (such as Order Total), and set the Type to Aggregation for a number, or Aggregation (Date) to find the earliest or latest date.

3. Choose what to summarise

Configure the settings for the aggregation:

SettingPurpose
Target TypeWhat you're summarising - a linked Collection, the record's Tasks, or its Activities.
Link FieldThe linked collection field connecting to the records to include (for a Collection target).
ModeThe calculation to perform (see below).
Target FieldThe field to calculate on - required for every mode except Count.
FilterOptional conditions so only matching records are included (for example, only Completed invoices).

4. Save

Click Add field. The aggregation fills in automatically and updates as its source records change.

Configuring an aggregation field's target, link field and mode

2. Aggregation modes

An Aggregation field offers these modes:

ModeResult
CountThe number of related records.
SumThe total of a numeric field.
AverageThe mean of a numeric field.
MinimumThe smallest value.
MaximumThe largest value.
Standard DeviationThe spread of the values.
Change over time (Latest - Earliest)The difference between the newest and oldest value - pick a Time field to order the records by.

An Aggregation (Date) field instead returns a single date, with Mode set to Latest or Earliest - for example, the most recent activity date across a record's linked entries.

Use the Filter to keep an aggregation focused - a paid total that ignores drafts, or a count of open tasks that excludes completed ones.


3. Tips

  • Set up the linking linked collection field before adding the aggregation.
  • Add a Filter so totals and counts reflect only the records that matter.
  • Give complex aggregations a clear Description so colleagues know exactly what's being summarised. See Configuring fields.

By using aggregation fields, you automate the totals, averages and counts that keep your Kinabase collections informative and up to date.


Need more help? Ask your System admin, or contact our support team via Help & Support.