Rollup fields allow you to perform aggregate calculations on data in linked tables, such as sum, average, count, etc. This feature is particularly useful for scenarios requiring summarization of related data for analysis and reporting.
Book Title | Price |
---|---|
”Code Complete” | $60 |
”Design Patterns” | $40 |
”Refactoring” | $50 |
Order No. | Books (Link Field) | Total Amount (Rollup Field) |
---|---|---|
001 | ”Code Complete”, “Design Patterns” | $100 |
002 | ”Refactoring”, “Design Patterns” | $90 |
Formula Name | Explanation |
---|---|
COUNTALL | Counts all values, including empty and non-empty values |
COUNTA | Counts non-empty values |
COUNT | Counts the number of records |
SUM | Calculates the sum of all numeric values |
MAX | Returns the maximum value among all numbers |
MIN | Returns the minimum value among all numbers |
AND | Returns true if all values are true |
OR | Returns true if any value is true |
XOR | Returns true if an odd number of values are true |
ARRAY_JOIN | Joins all values in an array into a string |
ARRAY_UNIQUE | Removes duplicates from an array and returns a new array with unique values |
ARRAY_COMPACT | Removes all empty values from an array and returns a new array |
CONCATENATE | Joins multiple values into a string |