Hi there,
I am looking to have a button that, when clicked, increments the points column in a dataverse table by 1. The items come from a gallery labelled Gallery2_1.
The formula must check against a unique column called Name and then update the points column in that record.
Here is what I have tried, but it is not working.
```
ForAll(
Gallery2_1.AllItems,
Patch(
Students,
LookUp(
Students,
Name = ThisItem.Name
),
{
Housepoints: ThisItem.Housepoints + 1
}
)
)
```