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 Automate / Entering data into las...
Power Automate
Unanswered

Entering data into last row in table (Excel Update Row)

(0) ShareShare
ReportReport
Posted on by 14

updatinHi there.

 

I have a flow that enters data into an excel table.

I have actions to insert data into a new row, but now I need to be able to add data into the last row.

 

I have tried using the 'List rows present in a table' operation, but am unsure how the 'Key Value' field in the UPDATE ROW works.

I have tried last(body('List_rows_present_in_a_table')?['body/value']) but this doesn't seem to work.

 

Hope you can help

Categories:
  • Gopala_Krishna Profile Picture
    1,495 on at

    @justinridgesa 

     

    The excel "Update a row" action asks for a Key Column, Key Value to be defined for the update to happen.

    The Key Column is the name of the column on which you want the update to happen and the Key Value is the value that is residing in the column.

     

    Suppose I have a column called "Column1"

     

    {"@odata.etag":"","ItemInternalId":"fe121f9b-f31f-4b9d-9b3a-cef989859836","Column1":"3"}

    If I want to update the last value present in the column "Column1" then in the keyvalue I have to provide the below expression

     

    last(body('List_rows_present_in_a_table')?['body/value'])['Column1']

     

    This will help the system understand the current value and will update it with the new value that will be shared

     

    If the information shared helps you please consider giving a thumbs up 👍 and mark solution as resolved

    Please follow my website PowerCards for more information related to Power Platform
  • CU13081438-0 Profile Picture
    14 on at

    Thanks for your help

     

    That didn't seem to work.

    I changed one of the column headings to 'Column1' and pasted the expression into the field as shown below.
    Please see the errors.

     

    The excel table:

    justinridgesa_0-1641457568637.png

    My flow

    1.png

     

    The error result

    2.png

    The output in 'List rows present in table'

    3.png

     

     

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 Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard