How can I create a lookup that brings in the last ID. I do not want it to be based on the user, I want it to be the last record ID in the sharepoint list.
Solved! Go to Solution.
Consider the following:
First(
Sort(yourList, ID, Descending)
).ID
That will give you the last ID.
I hope this is helpful for you.
Consider the following:
First(
Sort(yourList, ID, Descending)
).ID
That will give you the last ID.
I hope this is helpful for you.
Thank you, the only problem is a delegation warning. How can I get around this as I will have more than 2,000 records. @RandyHayes
This should not be an issue...the First function is not delegable, but the Sort is. So, the inner part of the sort should sort and then even if there are only 2000 records returned from that, it is not important because you only care about the first one.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
202 | |
187 | |
75 | |
45 | |
37 |
User | Count |
---|---|
338 | |
260 | |
116 | |
71 | |
66 |