web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Patch issues

(0) ShareShare
ReportReport
Posted on by 53

Hi. 

i will describe how my app works at first: 

i had a gallery, with checkboxes for every item who have 

 

OnCheck = Collect(notasselecionadas;ThisItem), and OnUncheck remove....

 

 

On the second screen i need to change the status of this collected items, on my data base. so i did a button with OnSelect as:

 

ForAll(
 RenameColumns(notasselecionadas;"ID";"IDC");
 Patch(NOTAS;
 LookUp(NOTAS; IDC = ID);
 { 'APP STATUS': alterarstatus.Selected.Value }
 )
)

 

 

but i get this error:

 

Error trying to retrieve data from the network: Invalid filter clause: unsupported operation. Currently, there is support only for ‘eq’, ‘ne’, ‘contains’, ‘startswith’ or ‘endswith’ unique.

 

 

I hope you can help me, and regards for your atention.

 

 

Categories:
  • Verified answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    @thgdamasceno 

     

    What might help is to use the RenameColumns function outside of the ForAll loop, and store the result in a collection. Then, use that collection as the source for the ForAll loop.

    This can avoid some issues with delegation and filtering.

     

    For example, you could try something like this:

    ClearCollect( 
     renamedItems, 
     RenameColumns(notasselecionadas;"ID";"IDC")
    );
    ForAll( 
     renamedItems; 
     Patch(
     NOTAS; LookUp(NOTAS; IDC = ID); 
     {'APP STATUS': alterarstatus.Selected.Value} 
     ) 
    )

    I hope this helps you fix your patch issues.

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • thgdamasceno Profile Picture
    53 on at

    Works perfectly, I assigned it to the navigate button on the previous page.

    I actually tried something close before, but I used AddColumns.

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard