I am trying to make the AREA column in my ALL DATA table be an available list of options returned from my SECTION lookup table, that only returns the SECTION.AREA column for the user to select from - see here: Screenshot - 8267b1ca2bb69a139f843bc2f802d9f5 - Gyazo
I tried this formula and many others but just can’t seem to get it working:
Lookup() is an outdated formula, I would recommend using either filter() if you want to auto-populae, or a lookup column if you want to select from a list or subset of a list.
Is this what you’re trying to accomplish ?
(Try to select a value in the lookup field Area in the table All )
If so, you should add the “reverse” part of the lookup field Area in your Section table by adding a lookup field from your Section table to your Area table and using a formula such as :
Section.Filter(Area.Contains(thisRow)).First()
(Area in the formula is in fact CurrentValue.Area)
This will retrieve the sections you linked to the areas in your Section table
(Sorry, I’m part of beta concerning the lookup fields and I don’t have access to the “old ones”, so I’m replying from memory )
Then, in your table [All Data], in the Lookup options of your Area lookup field, you should find a section Option settings somewhere in the menu and once you click on it you should find the part Filter.
In Filter Coda should suggest you something looking like Section = Section
Hi @Pch thank you for your reply, and I managed to get part of your solution working, BUT it’s not quite what I need. here’s a better and hopefully simpler explanation what I need:
I think I made a mistake in my previous reply, sorry .
Could you try a slightly different Filter() formula in the Section lookup in your table Area and see if this help with the no matches found (for the performance section) in your [All Data] table
It seems like the only way to get all areas showing as selectable options (so, when there’s no match found), would be when a section doesn’t have any areas linked to it (in the Section table).
As, you’re asking to have as selectable options in your Area lookup field in the table [All Data], the areas filtered by the sections linked to them (and compared to what’s in thisRow.SECTION in the table [All Data])
(Note that Section in the 2nd and 3rd lines is in fact CurrentValue.Section, as it correspond to the values in the lookup field Section in your Area table)