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 / Modifying last Row of ...
Power Apps
Answered

Modifying last Row of a Excel Table using patch

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all!

Hope you are all safe, I need a hand with a query that I need to solve, I am creating an app for data collection, I was wandering how I need to write the function Patch for modify a value in a column of the last Row registered on this Excel Table linked to my app?

Thank you!

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Assuming you have Ann ID column, use;

    Patch(Datasource,
    First( Sort(Datasource, ID,Descending)),
    {Status: Datacaradvalue10.Text} )

     

    Change the ColumnName "Status" to your column you want to change

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    Vijay Tailor Profile Picture
    2,961 on at

    Hi @Anonymous ,

    This is also the approach, 

    VijayTailor_0-1602833135261.png

    Thanks,
    Vijay

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard