I’m trying to patch the changes into the collection.
This combobox is single selected value and searchable.
I’m using OnChange function of the combobox where I’m patching the changes into the collection.
Here is the code I tried.
Patch(Collection1, ThisItem, {Currency : Self.selected.Value,
ModifiedData: If(ThisItem.ModifiedData ="C","C",ThisItem.ModifiedData="N","N","M")})
I tried removing modified data and then it is working fine.
In Defaultselectedvalue, I’m passing this value.
{Value: ThisItem.Currency}
What is wrong with the formula?