cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BenDonahue
Skilled Sharer
Skilled Sharer

Proper use of the expression last() with "List rows present in a table"

 After using a "List rows present in a table" blockI want to access the last row. How is that accomplished? the block will return an object and not an array, but the object contains an array, so I need to drill one level. What is that syntax?
1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User III
Super User III

Hi!

Assuming you did not renamed your action block, I would try with

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

 

Great stuff here

https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-get-last-row-values-in-an-excel-us...

 

Hooe this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

1 REPLY 1
efialttes
Super User III
Super User III

Hi!

Assuming you did not renamed your action block, I would try with

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

 

Great stuff here

https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-get-last-row-values-in-an-excel-us...

 

Hooe this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (3,097)