Oct 19, 2021 03:50 PM
Hello,
In my base, one table has 2 records each. Currnetly, i do a lookup and it shows me both records. I only want the first to show up because it just doubles the name twice. How can I make it so that when i lookup from that table, only the first (or last) record shows vs having both.
Oct 19, 2021 08:43 PM
Try using a rollup instead of a lookup, and use this formula.
ARRAYUNIQUE(values)
Feb 18, 2023 10:22 AM
This answers the technical issue but not the question in the title. How would airtable users create a calculation that only shows the first value in a lookup field? i.e., Is there a way to return value[0] of a lookup array?
Dec 18, 2023 08:02 AM
This worked for me, using a formula field:
IF(
FIND(",", {LookupField}) > 0,
LEFT({LookupField}, FIND(",", {LookupField}) - 1),
{LookupField}
)