Child products table has a unique ID for each entry, the relationship to the “mother table” (codigos) is through “parent sku”, the codigos table key is a concatenation of an order number and product number (not sku)
Great question! This may also be because the refenced column is not showing any data that is directly related to the child records. May need more information about the data structure to better diagnosis the issue.
The invoice table references the child products table by sku (parent sku at the child products), the keys are not related in appsheet as there would be duplicate records.
You have to get key values on the start expression.
I am a bit confused about your tables structures because your template shows three tables - invoice, line items, child products - but you also say line items is invoice but what you do is to use a select statemen with a filtering condition just like you do with regular expressions. You just make sure you you return key values in case of within a START expression.
<<START: SELECT(child products[child products key], CONDITION here like [field]=[]>>
<<field in child producs>>
<<END>>
I ended up creating a concatenated key for “line items” table and a “reverse key” with the same concatenated common fields at “child products” table. I referenced this one back to the “line items” and now it works like a charm.