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

Called up the last record by username

I have a Shaporepoint list like this 

Name         Limit     Claims        Balance   

ABC            300        0                   300

BCD            200        0                   200

ABC             300      100                200

 

when ABC lauched the Power APP form, it will shown the Balance of 200 in the Label.

May i know which Formula should i use? i had tried 

LookUp('BeerGratics(Test)',Title = DataCardValue40.Text ,Last('BeerGratics(Test)').LimitCartons) 

It always show me the last records that i added in to the list.

 

Hope the expect here can advise me thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Called up the last record by username

Hi @pohy01 

I think this might be what you're looking for.

Last(Filter('BeerGratics(Test)',Title = DataCardValue40.Text)).LimitCartons

Ideally, it's better to sort by a date/time, or ID value before applying the Last function to better guarantee that you're retrieving the last record that you expect.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Called up the last record by username

Hi @pohy01 

I think this might be what you're looking for.

Last(Filter('BeerGratics(Test)',Title = DataCardValue40.Text)).LimitCartons

Ideally, it's better to sort by a date/time, or ID value before applying the Last function to better guarantee that you're retrieving the last record that you expect.

View solution in original post

pohy01
Level: Powered On

Re: Called up the last record by username

It Works, thanks.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,055)