Hey all,
I am trying to patch some data in the on select field of a button. This needs to be filtered on a prior combo box choice.
So for example if customer 1 is selected in the combo box and oranges is selected in the next gallery, I need to log +1 clicks against - Oranges, Customer 1. (Screenshot attached for reference).
I managed to come up with this -
Set(currentRecord, LookUp(Table7, ThisItem.Description=ThisRecord.Description));
Patch(Table7, currentRecord, {CountOfClicks: currentRecord.CountOfClicks + 1})
But it only creates records for customer 1.
Also I have sorted out how display the most clicked button at the top of the gallery in my prior post. But I just need to figure out what I explained above so I can log the clicks. Thanks everyone for the help.