cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stumiles86
Level: Powered On

Get last row matching Username

How do I update the last row in an excel table that matches the username of the person pressing the flow button?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Get last row matching Username

 

Hi @stumiles86 ,

 

Please refer to the following method to configure your Flow.

The name of the field suggested for Filter Query does not contain spaces, such as UserName.

 

  • Use Filter Query to filter out the eligible rows and then use the last() function to get the last record.
  • And use the column value contained in the last record to get the row and update it.

 

It should be noted here that it is better to have a column with a unique value in the table as the key column to update the row.

Image reference:

85.PNG86.PNG

 

Best Regards,

Community Support Team _ Barry
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: Get last row matching Username

 

Hi @stumiles86 ,

 

Please refer to the following method to configure your Flow.

The name of the field suggested for Filter Query does not contain spaces, such as UserName.

 

  • Use Filter Query to filter out the eligible rows and then use the last() function to get the last record.
  • And use the column value contained in the last record to get the row and update it.

 

It should be noted here that it is better to have a column with a unique value in the table as the key column to update the row.

Image reference:

85.PNG86.PNG

 

Best Regards,

Community Support Team _ Barry
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
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
Users Online
Currently online: 339 members 5,070 guests
Please welcome our newest community members: