Overview
Conditional Rollup is a cross-table data query feature that performs statistical calculations on filtered data, returning a single aggregated result value. It allows you to obtain qualifying data from other tables based on configured filter conditions and perform statistical analysis without pre-establishing relationships between tables.- Conditional Aggregation: Only perform statistics on data that meets conditions, excluding irrelevant data
- Multi-dimensional Statistics: Support for various calculation methods including sum, count, average, etc.
- Real-time Updates: Automatically recalculate when source data changes to ensure data accuracy
Procedure
Step 1: Create Conditional Rollup Field- Click the + icon on the right side of the field name
- Select “Conditional Rollup” field type
- Enter field title (e.g., “Total Sales Amount”)
- Choose the data table to query from the “Target Table Selection” dropdown menu
- The system will display the field list of that table for subsequent configuration
- Select the data field to perform statistical calculations on from the “Rollup Field”
- Determine data type (number, text, date, etc.)
- Click “Add Filter Condition”
- Select the field to filter
- Select condition type (equals, not equals, contains, greater than, less than, before, after, etc.)
- Set comparison value:
- Static value: Directly input specific numerical value
- Field reference: Select current table field as dynamic value
- Select appropriate calculation method based on data type: original value, unique, unique count, sum, count, average, maximum, minimum, etc.
Use Cases
Use Case 1: Team Task Volume Statistics
Tables:- Task Table
- Statistics Table
- Create new conditional rollup field in employee information table, title “In-Progress Tasks”
- Target table: Task Assignment Table
- Rollup field: Task ID
- Filter conditions:
- Field: Assignee → Condition: Equals → Value: Employee field of current table
- Field: Task Status → Condition: Equals → Value: “In Progress”
- Aggregate function: Count All
- Create another conditional rollup field, title “Completed Tasks”
- Target table: Task Assignment Table
- Rollup field: Task ID
- Filter conditions:
- Field: Assignee → Condition: Equals → Value: Employee field of current table
- Field: Task Status → Condition: Equals → Value: “Completed”
- Aggregate function: Count All
Use Case 2: Find Duplicate Values
Tables:- Customer Table (contains customer name, contact phone fields)
- Create new conditional rollup field in customer table, title “Customer Name Duplicate Count”
- Target table: Customer Table (this table)
- Rollup field: Customer Name
- Filter conditions:
- Field: Customer Name → Condition: Equals → Value: Customer Name field of current table
- Aggregate function: Count All
- Create new formula field, title “Duplicate Flag”
- Formula:
IF(Customer Name Duplicate Count > 1, "❗️ Duplicate", BLANK())
FAQ
What's the difference between Conditional Rollup and Conditional Lookup?
What's the difference between Conditional Rollup and Conditional Lookup?
Key differences:
- Return Results: Conditional Rollup returns a single calculated value, while Conditional Lookup returns a list of multiple original values
- Different Uses: Conditional Rollup is used for statistical analysis, while Conditional Lookup is used for viewing detailed data
- Calculation Method: Conditional Rollup includes aggregate calculations, while Conditional Lookup only filters and extracts data