I’d like to do a rollup on a lookup from a linked field so it only displays records that appear once (not each instance. I’d like to find something like ARRAYUNIQUE(values) in Airtable.
Is there a way to achieve that to prevent ugly columns like these?
Hey @gabrielle, unfortunately, it’s not currently possible. However, your suggestion to add ARRAYUNIQUE(values) to Baserow is a great idea. I’ve changed the category of your post to ‘Feature Ideas’ and will discuss this request with the team.
Sorry for the late reply! I’d say all these:
AND
AVERAGE
COUNT
COUNTA
COUNTALL
MAX
MIN
CONCATENATE
ARRAYJOIN
ARRAYUNIQUE
ARRAYCOMPACT
ARRAYSLICE
OR
XOR
But most importantly, they should work on linked fields and lookup fields to be truly useful. Right now, I am quite limited in my use of the roll up function because of that. There are a number of things I can do easily in Airtable that don’t seem to wok in Baserow unfortunately.
Hey @gabrielle, we’ve checked the request, and here’s an update.
These three functions are already available in the roll-up field:
max
min
average
As for the rest, we’ve raised the priority of the arrayunique function, so it should be implemented pretty soon. As for the others, we already have formula functions:
count
concat
and
or
This means you can use them to get the info you need via the formula field type as a workaround until we have these functions directly available with the roll up field.
To sum up, your feature request has been accepted. We will add all the missing functions, but they are a low priority, except for the arrayunique function. It will be added soon.
I’d like to cast my vote for these functions, particularly, ARRAYUNIQUE. If there was a function to extract only the first or the last element of the array, I could use it too (see also my thread).