I have a collection that looks like this:
Where OT is the Key of the table.
Im trying to patch inside "data" and for that im trying to use this:
Patch(LookUp(colOTOrders;OT=ThisItem.OT).data;colFieldsEdited);;
Where colFieldsEdited is a collection that contains the columns in "data" that needs an update.
This is my collection "data"
and this is my collection "colFieldsEdited"
My issue here is that this works sometimes, and sometimes it gives me an error "the data source is not valid".
Is there any other way to takle this or avoid the error?

Report
All responses (
Answers (