Hi @Anonymous
Can you please share more details about the configuration of the app? I want to understand the controls used.
If you are looking to update all records where the value is Approved, then you need to use the UpdateIf function:
UpdateIf(Expense, Approved="No", {Approved:"Yes"});
UpdateIf(Expense, Approved="Yes", {Approved:"No"});
If you are just looking for one item, then use the below expressions:
Patch(Expense, LookUp(Expense, ColumnToMatch="ValuetoMatch"), {Approved: If(LookUp(Expense, ColumnToMatch="ValuetoMatch").Approved = "Yes","No","Yes")})
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered
questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!