cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Haufe
Helper II
Helper II

Update last line in Excel

Hi,

 

Please, i need always update the last line in an Excel when i press the button of the flow.

 

Thanks!

 

Best regards. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi @Haufe ,

 

Do you want to update the last row in an Excel table every time you press a button?

 

Please check the following flow for a reference.

 

Add the button trigger.

 

Add action List rows present in a table.

 

Add action Update a row, select the Key column from the dropdown, then in the Key value field, input the following code:

 

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

 

Then update the Start date with function utcnow(‘yyyy-MM-dd’).

1.PNG2.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi @Haufe ,

 

Do you want to update the last row in an Excel table every time you press a button?

 

Please check the following flow for a reference.

 

Add the button trigger.

 

Add action List rows present in a table.

 

Add action Update a row, select the Key column from the dropdown, then in the Key value field, input the following code:

 

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

 

Then update the Start date with function utcnow(‘yyyy-MM-dd’).

1.PNG2.PNG

 

Best regards,

Mabel

 

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

Hi 

 

 

 

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,817)