Dear PowerApps Community,
Trying to make a string depending on the values of some comboboxes. I am using two comboboxes, and then two switch functions to evaluate the combobox values. For some reason this is not able to patch correctly to a test field (results in "false" being written instead of my string).
This setup works whilst only using one combobox, so my guess is something is going wrong combining the parts of the string.
Patch(Wisselstukken;
{'Id (ID)': galStockList.Selected.'Id (ID)'};
{Place:
(
(Switch(cboLocationSite.Selected.Value; "BIOPOWER"; "EBO"; "GREENPOWER"; "EGO"))
&& "/" &&
(Switch(cboLocationMainRoom.Selected.Value; "ENGINES"; "E";"VOLTAGE DISTRIBUTION" ; "VD";"TECHNICAL" ; "T";"LABO"; "LB";"COMMON" ; "C";
"IT - SERVER ROOM";"IT";"OFFICES"; "O"; "STEAM TURBINE";"ST")
))
});;
Any idea?
Kind regards,
Sébastien