Skip to main content
Solved

Can I create an Airtable view containing records not present in a “linked records” column?

  • July 5, 2020
  • 2 replies
  • 14 views

I have a table with columns like:

Name (Single Line Text) | Partner (Link to "Name")
----------------------- | --------------------------
John Doe                | `Jane Doe`
Jane Doe                | (Empty)
Bob Smith               | `Mary Smith` `Kevin Smith`
Mary Smith              | (Empty)
Kevin Smith             | (Empty)
Alan Stephens           | (Empty)

I’d like to create a new view for this table with filtering like:

WHERE {Partner (field)} is not empty
OR {Partner (column)} does not contain {Name}

such that the result would be:

Name (Single Line Text) | Partner (Link to "Name")
----------------------- | --------------------------
John Doe                | `Jane Doe`
Bob Smith               | `Mary Smith` `Kevin Smith`
Alan Stephens           | (Empty)

The challenge here is that on line 1 of my filter, I’m looking for “records with no records linked in their Partner column”, but on line 2 I’m looking for “records which are not found in the Partner column for any other record”.

The overall goal is to generate a list of records with no Partner(s) plus records who are not anyone else’s Partner. Is there a way to achieve this?

Best answer by Mohamed_Swella1

Hi @Phil_Salant

Welcome to Airtable Community! :slightly_smiling_face:

The filter you are trying to do is not doable in such way. What you can do is use the script block to make the connections 2 ways. Here is the script to do so.

2 replies

Mohamed_Swella1
Forum|alt.badge.img+17
  • Inspiring
  • 1030 replies
  • Answer
  • July 5, 2020

Hi @Phil_Salant

Welcome to Airtable Community! :slightly_smiling_face:

The filter you are trying to do is not doable in such way. What you can do is use the script block to make the connections 2 ways. Here is the script to do so.


  • Author
  • New Participant
  • 1 reply
  • July 5, 2020

Hi @Phil_Salant

Welcome to Airtable Community! :slightly_smiling_face:

The filter you are trying to do is not doable in such way. What you can do is use the script block to make the connections 2 ways. Here is the script to do so.


Thank you! This is exactly what I needed!