Fields / data type
Rollup
A read-only summary calculated from records related to the current record.
When to use it
A parent record needs a summary of its related child records.
Example
A Quote showing the sum of its related Quote Product amounts.Configure this field
Choose a child object, the child's single relationship field back to this object, and an aggregate: Count, Sum, Average, Minimum, or Maximum. Count needs no target field; the other aggregates require one. A Minimum or Maximum of a Time field is a Time, picked by time of day on the workspace's clock; Phone, Email, URL and Time Zone fields have no Minimum or Maximum. You can limit included child records with simple filters or a formula filter.
Limitations
Rollups are always read-only and cannot be required. They do not support defaults, length, precision, scale, picklist options, relationship settings, or auto-number settings.
Configure a rollup
- Start on the object that should display the summary.
- Choose the child object containing the records to summarize.
- Choose the child's single relationship field that points back to the current object.
- Select Count, Sum, Average, Minimum, or Maximum.
- Except for Count, select the child field to summarize.
- Optionally add simple conditions or a formula filter to include only qualifying child records.
Aggregate rules
Count does not take a target field. Sum and Average require a Number, Currency, or Percent target field. Minimum and Maximum can use Text, Picklist, Number, Currency, Percent, Date, or Date/Time fields.
Filters
Simple filters support equality and blank checks for supported fields. Numeric, currency, percent, date, and date/time fields also support comparisons; text fields also support contains. A formula filter is evaluated against the child record and must return true or false.