Background:
Excel table stored in Sharepoint, which is populated in turn from a MS Bookings application via a Automated flow.
I created a vertical gallery (blank) and added my fields (BookTime, Name, ID, Email)
I added a toggle switch (AttendedToggle) which will set "Yes" into the Attended field (text)
True text value is "Yes" and false text value is "No"
Toggle switch default
If(IsBlank(ThisItem.Attended), false, true)
My OnCheck value is:
Patch(
MyTable,
Filter(MyTable,Email = ThisItem.Email),
{
Attended:Text("Yes")
}
)
And this does not work. I tested the Patch by adding
Defaults(MyTable),
and the script works perfectly, and adds a new row with "Yes" in the Attended column.
What am I doing wrong here please?