Hi @shoebwk ,
Could you tell me:
1)status field data type?
2)what does "ThisRecord" represent? a variable ? or something else?
If you want to update all the items that ApprovalStatus = "Reported" to ApprovalStatus:"Approved", you should use formula like this:
ForAll(
RenameColumns(
Filter(
GalleryReported.AllItems,
ApprovalStatus = "Reported"
),
"ID","ID1"),
Patch(
Mobility,
ID=ID1,
{ApprovalStatus:"Approved"}
)
)
If Status is single choice column, try this formula:
ForAll(
RenameColumns(
Filter(
GalleryReported.AllItems,
Status.Value = "Reported"
),
"ID","ID1"),
Patch(
Mobility,
ID=ID1,
{Status: {Value: "Approved"}}
)
)
Best regards,