Description:
I have two tables:
- Koki (Logs)
- Suga (no Konteinera) → lookup from Konteineri
- Garums (mm) → lookup from Konteineri
- I need to fetch the correct coefficient from the Klase/Suga table based on both species and length.
- Klase/Suga (Species/Classes)
- Column Suga (e.g., A Priede, B Egle)
- Column Garums (mm) (e.g., 2700, 2900, 4000…)
- Column Koef (the coefficient value I want to retrieve into Koki)
What I’m trying to do:
- In the Koki table, I created a Template column Species-Length Key, expected to look like “A Priede - 4000”.
- In the Klase/Suga table, I created an identical Template column with the same format.
- Then I made a Relation: Koki → Species-Length Key to Klase/Suga → Species-Length Key.
- Then I added a Lookup to pull the Koef from Klase/Suga.
The problem:
- Glide shows me all the rows from Klase/Suga instead of just the matching one (e.g., “A Priede - 4000”).
- Sometimes in the Template replacements, my column “Suga (no Konteinera)” doesn’t even appear in the dropdown, only an empty option.
- As a result, the Lookup doesn’t return a single coefficient, but instead a list of all values.
Question:
What am I doing wrong? How can I make the Relation + Lookup return only the single correct coefficient for a given species and length (e.g., A Priede + 4000 → 1.80)?