Overview
Conditional Lookup is a cross-table data query feature that allows you to dynamically fetch qualifying data records from other tables based on configured filter conditions, without the need to pre-establish relationships between tables.- Flexible Filtering: Support for complex condition combinations to precisely target relevant data
- Dynamic Matching: Reference current table field values as filter conditions for intelligent queries
- Result Control: Support for sorting and quantity limits to focus on key information
Procedure
Step 1: Create Conditional Lookup Field- Click the + icon on the right side of the field name
- Select “Conditional Lookup” field type
- Enter field title (e.g., “Related Orders”)
- 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 extract from the “Lookup Field”
- Determine the return data type (text, number, date, etc.)
- Click “Add Filter Condition”
- Select the field to filter
- Select condition type (equals, not equals, contains, greater than, less than, contains, not contains, etc.)
- Set comparison value:
- Static value: Directly input specific numerical value
- Field reference: Select current table field as dynamic value
- Set sorting field and sorting method (ascending/descending)
- Set display record quantity limit
Use Cases
Use Case 1: Sales Data Period-over-Period Analysis
Data Tables:- Period Sales Summary Table (contains period, start date, end date, sales amount fields)
- Sales Detail Table (contains sales amount, sales date fields)
- Create new conditional rollup field in period sales summary table, title “Current Period Sales”
- Target table: Sales Detail Table
- Rollup field: Sales Amount
- Filter conditions:
- Field: Sales Date → Condition: Less than or equal → Value: End Date field of current table
- Field: Sales Date → Condition: Greater than or equal → Value: Start Date field of current table
- Aggregate function: Sum
- Create new conditional lookup field, title “Previous Period Sales”
- Target table: Period Sales Summary Table (this table)
- Field: Current Period Sales
- Filter conditions:
- Field: End Date → Condition: Equals → Value: Previous Period End Date field of current table
- Aggregate function: Sum
- Create new formula field, title “Period-over-Period Growth Rate”
- Formula:
(Current Period Sales - Previous Period Sales) / Previous Period Sales * 100 - Format: Percentage, 2 decimal places
Use Case 2: Sales Data Product Analysis
Data Tables:- Product Table (contains category ID, product name, sales volume fields)
- Category Table (contains category ID, category name fields)
- Create new conditional lookup field in category table, title “Top Selling Product”
- Target table: Product Table
- Lookup field: Product Name
- Filter conditions:
- Field: Category ID → Condition: Equals → Value: Category ID field of current table
- Sorting: Sales Volume field → Descending
- Limit display: 1 record
- Create another conditional lookup field, title “Sales Volume”
- Target table: Product Table
- Lookup field: Sales Volume
- Filter conditions:
- Field: Category ID → Condition: Equals → Value: Category ID field of current table
- Sorting: Sales Volume field → Descending
- Limit display: 1 record
FAQ
Why can't some fields be used as filter conditions?
Why can't some fields be used as filter conditions?
Filter field availability depends on the following limitations:
- Field Type Limitations: Certain complex field types (such as images, attachments) do not support filter conditions
What's the difference between Conditional Lookup and regular Lookup fields?
What's the difference between Conditional Lookup and regular Lookup fields?
Key differences:
- Association Method: Regular Lookup requires pre-established relationship fields, while Conditional Lookup can dynamically configure filter conditions