I have Gallery data and I want to update Gallery data in forms. I use Lookup to select a specific record and update corresponding columns. However, it's not working with this code. I check questions in this forum but it's not working.
Patch('My sharepoint List', Lookup('Employee name'=BrowseGallery1.Selected.'Employee Name'),
{Wage: Value(Value(Datacardvaluework.Value) * Piecerate.Selected.'Piece Rate')},
{'E. ID': Dropdown2_1.Selected.'Employee ID'},
{'Employee Name': ComboboxCanvas1.Selected.Value},
{'Cost Category':DataCardValue3.Text},
);
I tried updateIf its not working too.