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 Platform Community / Forums / Power Apps / Patch function adding ...
Power Apps
Unanswered

Patch function adding new row instead of uptdate the old rows

(0) ShareShare
ReportReport
Posted on by 33

Hi!

 

so i am using a patch function to add data to the table but i dont want the to add a new row in the table i want as user to be update the table instead of add a new row 

Screenshot_4.png
Categories:
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @Gjoni23 

    According to your screenshot , you are using the Defaults(Table) in your two parameter.

    When you use the Defaults(Table) , it means this function will add a row in your data source.

    vyueyunmsft_0-1707271540021.png

    You need to replace it to the one record which exist in your datasource so that you can update the record instead of adding a row.

    Patch function (contains video) - Power Platform | Microsoft Learn

     

    You can use the LookUp() function or Gallery.Selected to get the one of the record in your datasource.

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard