web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Last ID Number Based o...
Power Apps
Answered

Last ID Number Based on Sharepoint List ID Column it's not Working

(0) ShareShare
ReportReport
Posted on by 253

Hi Guys. I need help:

 

I have the follow formula in my text property of "Text Input" field:

Text property:     Last(InboundList).ID+1 

 

So my Sharepoint list has 658 lines and the last ID is 658, but my Power Apps Text input with the formula above (last ID) stopping working (freeze) in ID 637. It's happend after I done I new publish and I don't now if is a Power Apps bug, or some error after a certain quantity of ID using this formula happen. Please, see cover photo to understand better my explanation.

Categories:
I have the same question (0)
  • Verified answer
    EddieE Profile Picture
    4,643 Moderator on at

    @WendeReisss 

    I'd say there have been some deleted items from your list and your app is only returning the default number of rows, which is 500. You can set this to a Max of 2,000 by going to settings and changing the Data row limit to 2000.

     

    However, for your situation, you'd be better off using a different formula, ie

    First( Sort(InboundList, ID, SortOrder.Descending)).ID+1 

     

    Using this formula, you don't need to adjust the Data row limit because it will always get the last ID, no matter the List size.

     

  • WendeReisss Profile Picture
    253 on at

    Perfect!!!

     

    I've used the formula you wrote and it worked  well.

     

    Thank you so much my friend.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard