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

