Hi,
i need assistant in the following case.
I got two tables.
Table1
(The selection table)
InventoryNr | Description | AddToTable2
30, 31 Donuts Button
30, 33 Bagels Button
32 Cake Button
33 Baguette Button
“InventoryNr
” is a dropdown that holds all “OrderNr's
” from “Table2
”
Example for the first row
30, 31 Donuts Button == Put Donuts to "Overview
from Table2
" where OrderNr
== 30 , Put Donuts to "Overview
from Table2
" where OrderNr
== 31
Table2
(The results / view only table)
OrderNr | Overview
30 Donuts, Bagels
31 Donuts
32 Cake
33 Bagels, Baguette
“Overview
” row is empty and should be updated depending on the selection of “Table1
”.
The row must display single items (e.g. Cake) and also multiple items (e.g. Donuts, Bagels).
“OrderNr
” row is prefilled and not empty
For the button:
FormulaMap(
thisRow.InventoryNr,
If(Table2.OrderNr==CurrentValue,Table2.ModifyRows(Table2.Overview,thisRow.Description),"")
)
Formula explanation
- each inventorynr from table1
- if table2 ordernr == current value (inventorynr)
- modify overview in table2 row where ordernr == current value
got no errors in the formula but receive after execution
Unable to execute invalid action
Thanks for any tipps!