cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pipe1990
Helper I
Helper I

Modifying last Row of a Excel Table using patch

Hi all!

Hope you are all safe, I need a hand with a query that I need to solve, I am creating an app for data collection, I was wandering how I need to write the function Patch for modify a value in a column of the last Row registered on this Excel Table linked to my app?

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
VijayTailor
Resident Rockstar
Resident Rockstar

Hi @pipe1990 ,

This is also the approach, 

VijayTailor_0-1602833135261.png

Thanks,
Vijay

View solution in original post

2 REPLIES 2
eka24
Super User III
Super User III

Assuming you have Ann ID column, use;

Patch(Datasource,
First( Sort(Datasource, ID,Descending)),
{Status: Datacaradvalue10.Text} )

 

Change the ColumnName "Status" to your column you want to change

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

VijayTailor
Resident Rockstar
Resident Rockstar

Hi @pipe1990 ,

This is also the approach, 

VijayTailor_0-1602833135261.png

Thanks,
Vijay

View solution in original post

Helpful resources

Announcements
PA 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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (19,373)