I have a data set that looks like the following (on the left), all of the values for each category are the same. I want to display it in glide like the table on the right, but when trying to filter for duplicates I can only remove all duplicates (not just show the first one). Any ideas? Thanks!
Add a row id column in the base table.
Create a new tab in your google sheet, and at A1, enter:
=UNIQUE('Name of your first tab'!A1:B ; false ; false)
It will give you only unique rows.
This is a common method using the same table. Then you can just filter the table.
Is there any functionality like that in glide? I just copied over what I am trying to do in google sheets for easier visibility
I mean, you could, but you will have to add every key by hand on the first column, then add a relation column and lookups to the other related columns.
You could use schedule workflow to make a copy of each unique element in another table, but that may not be the best workaround…
Or use the method above.
I think you should prioritize using the method Jeff suggests, and move everything you can to Glide Tables.
We stopped recommending spreadsheet formulas at least 2 or 3 years ago. They are almost never required, except for a very few rare cases
I think I understand what you’re trying to achieve. I recommend downloading your Google Sheet and importing it into glide as a new Glide table.
You data table will look something like this:
And you can create a helper table where each row will automatically be 1 of the categories:
-
First we lookup all the Row IDs:
-
Then we get the index of the current row:
-
Then we lookup all the categories from the data table:
-
Get Unique Elements from the categories:
-
Then a single value column to retrieve the category based on the row #:
6: Finally a relation and lookup:
Make sure you have enough rows in the helper tables for the number of categories.
How would it be possible to automate that from Glide table?
See the link that Jeff gave. That’s probably the simplest method.