I’m trying to set up a special view in my Airtable. My table has a ‘Name’ column and a ‘Partner’ column that links to other names. I want to show two types of records:
Those without any partners
Those who aren’t listed as someone else’s partner
Is there a way to do this? I’ve tried playing around with filters, but I can’t figure out how to combine these two conditions.
Here’s a simple example of what I’m after:
Name | Partner
---------------------
Alice | (Empty)
Bob | Charlie
Charlie | (Empty)
David | (Empty)
In this case, I’d want my view to show Alice, Charlie, and David. Alice and David because they have no partners, and Charlie because he’s not listed as anyone’s partner.
hey liamj, i think i got a solution for ya. try using a rollup field to count how many times each name appears as a partner. then filter ur view to show records where the partner field is empty OR the rollup count is 0. that should catch both cases ur lookin for. lmk if it works!
As someone who’s worked extensively with Airtable, I can offer a slightly different approach that might be more efficient. Instead of creating a new formula field, you could leverage the ‘Count’ function in a Rollup field.
Create a Rollup field called ‘Partner Count’ that counts the occurrences of each record in the Partner field. The formula would be COUNT(Partner).
Then, set up a view with two filters: one where Partner is empty, and another where Partner Count is 0. This method is particularly useful if you’re dealing with a large dataset, as it reduces the complexity of your table structure.
One thing to keep in mind: if you’re frequently updating your data, you might need to refresh the view to see the most current results. Airtable sometimes takes a moment to recalculate Rollup fields in larger tables.