I need to set a Lookup value to null in Power App on button click.
I edited the OnSelect event to do something like this:
Patch(selectedUserShift, {Desk: Blank()});
where selectedUserShift is the record I want to update. It does not work. So I tried the following alternative:
Update(Shifts,LookUp(Shifts,'Shift Id'=selectedUserShift.'Shift Id'),{Desk: Blank()});
It does not work... any suggestion