cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ranred
Level: Power Up

How to get last row values in an excel using flows

Hi I am trying to get the values in the last row of an excel using flow. I have the last row of an excel using

 

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

 

 However it returns a JSON value and i am not sure how to extract the values from the JSOn so that i can use that in an email and below is the JSON

 

{
  "@odata.etag": "",
  "ItemInternalId": "b7ecb7a1-9f8f-409c-8d84-8f972afb94ba",
  "ID": "10",
  "Start time": "43773.7610069444",
  "Completion time": "43773.7612731481",
  "Email": "test.net",
  "Name": "test",

}

 

 Screen Shot 2019-11-05 at 10.47.45 AM.pngimage

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to get last row values in an excel using flows

Hi @ranred ,

 

Which value are you want to get from the JSON?

For example, you could take a try with expression below to get the ID value:

last(body('List_rows_present_in_a_table')?['value'])?['ID']

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: How to get last row values in an excel using flows

Hi @ranred ,

 

Which value are you want to get from the JSON?

For example, you could take a try with expression below to get the ID value:

last(body('List_rows_present_in_a_table')?['value'])?['ID']

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,917)