Fix: Airtable “Filter” not respecting “Is Empty” logic on Linked Records

When building views, interfaces, or automations in Airtable, applying a filter condition such as {Linked Record} is empty (or is not empty) often produces incorrect results. Records with no visible linked chips may be excluded from the “is empty” view, while records that appear unlinked continue passing “is not empty” checks. This filtering error breaks triage queues, distorts task assignments, and causes automated notifications to fire on blank rows. The breakdown happens because Airtable evaluates linked record fields as arrays rather than simple text values, meaning empty lookup strings, ghost relationship tokens, or whitespace arrays prevent the database from recognizing the cell as true null.

Quick Fix: Fixing “Is Empty” Filter Logic on Airtable Linked Records

Resolve linked record filtering errors by creating a helper Formula field defined as COUNTA({Linked Record Field}). Then, update your view filter or automation condition to check whether this helper field equals 0 (for empty) or is greater than 0 (for not empty), which bypasses underlying array-formatting inconsistencies.


Diagnostic Snapshot

  • Primary Symptom: A view filtered to {Linked Record} is empty displays rows that appear unlinked, or fails to show newly cleared records.
  • Root Mechanism: Linked record fields return an array of record IDs (['recXXX']). Under specific conditions, lookup arrays return empty string elements (['']) rather than an empty set, failing native null checks.
  • Affected Features: Grid/Kanban view filters, Interface Designer element filters, and Automation condition steps.
  • Resolution Level: Formula helper field creation or lookup conversion (requires Editor or Creator permissions).

Why “Is Empty” Fails on Relational Fields

A standard text field in Airtable is either populated with a string or completely null. Relational fields (Linked Records, Lookups, and Rollups) function differently because they manage lists of pointers.

Standard Field:
  Cell Value: null ────────► "is empty" evaluates TRUE

Direct Linked Record:
  Cell Value: [] (Empty) ──► "is empty" evaluates TRUE

Lookup of a Linked Record Field:
  Linked Record exists, but targeted field in that record is blank.
  Returns: [''] (Array containing one empty string element)
  Evaluation: Array length = 1 ──► "is empty" evaluates FALSE (Broken!)

The filter logic breaks down in three specific scenarios:

  1. Filtering Lookups Instead of Direct Links: If your view filters on a Lookup of a linked record rather than the linked record field itself, Airtable evaluates the array returned by the lookup. If a linked record exists, but the looked-up value inside that record is blank, Airtable returns an array containing an empty value (['']). Because the array itself is not empty, the is empty rule fails.
  2. Ghost Links in Synced Tables: When records in a source base are deleted, two-way sync connections or cross-base links can retain a ghost reference in the destination base until the sync queue flushes. The UI shows no visible linked record tag, but the underlying cell metadata still registers a pointer.
  3. Leading Whitespace or Empty Primary Keys: If a linked record’s primary field consists entirely of whitespace or an empty formula result, Airtable displays an empty, borderless tag in the cell. The cell looks empty to the user, but the relationship is fully active.

Step-by-Step Resolution

1. The Helper Formula Fix (Most Reliable)

Because native filters can struggle with array structures, using a numeric count eliminates all ambiguity:

  1. In your table, add a new field named Link Count.
  2. Set the field type to Formula.
  3. Enter the following formula:Alternative formula using boolean logic: COUNTA({Name of Linked Record Field}) IF({Name of Linked Record Field}, 1, 0)
  4. Save the field.
  5. In your view or automation settings:
    • To find unlinked records: Set filter to Link Count = 0.
    • To find linked records: Set filter to Link Count > 0 (or Link Count = 1).

Because the formula evaluates the exact count of linked record IDs, it reliably ignores empty strings, arrays with zero elements, and ghost references.

If you want to filter records based on whether they have a relationship established, check your filter target:

  1. Click the Filter button in your view toolbar.
  2. Check the field selected in your condition:
    • Ensure you selected the primary Link to another record field (indicated by a two-way arrow icon).
    • Do not select a Lookup field that pulls data through that link (indicated by a magnifying glass icon).
  3. If you must filter based on a lookup value being empty, convert the Lookup field into a Rollup field using the aggregation formula ARRAYCOMPACT(values). For additional details on rollup aggregation structures, review Troubleshooting: Airtable “Rollup” returning incorrect Sum/Average.

3. Check for Orphaned Primary Keys in the Linked Table

If rows appear unlinked but pass the is not empty filter:

  1. Click inside the linked record cell on one of the problematic rows.
  2. Check if a small, blank, clickable chip appears.
  3. If clicking the chip opens a record in the related table where the primary field is blank:
    • That record actually exists in the linked table, but has no name.
    • Give that record a primary name, or delete it from the related table to remove the link completely.
  4. If your primary fields rely on formulas that return blank outputs, see How to Resolve: Airtable “Lookup” Field showing #ERROR or Blank.

4. Fix Automation Condition Steps

If this filtering error occurs inside an Airtable Automation:

  1. Open the automation builder and select your conditional branch or trigger.
  2. Avoid setting the condition to: Linked Field is empty.
  3. Instead, configure the condition to check your helper formula: Where Link Count is equal to 0

This ensures downstream actions (such as automated record creation) execute reliably. To prevent duplicate executions when fixing automation conditions, follow Fix: Airtable “Duplicate Record” created by multi-step Automations.