cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ngreen
Helper III
Helper III

Filter to pull specific column data from last entry on SharePoint list

So I am trying to create my own userID system using the first 2 letters of the first name and last name and combine it with an increasing number that comes from a SharePoint column called "Record" that is set as a number column. I set the previous entry manually, but I'mhaving trouble getting powerapps to pull that from a large list of over 2,000 data row entries. Because it's so large, I assume I need the Filter function somewhere, and Last function to pull that number. I was planning on calling the previous Record number and having powerapps add 1 to that number, then adding the Right(Record,3) to the userID so that it would be something like NaGr123. 

 

Additionally, is there a way to keep if from counting all 0 values when I hit a number like 1,000? I'd rather not have something like NaGr000, if possible. Although that may display as NaGr, correct? Can it skip the 1,000 and go straight to 1,001 for every thousand?

 

For specifics:

 

List name: Visitor Import Test

Number column name: Record

10 REPLIES 10

@ngreenno problem at all.  Best of luck building your app!

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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (1,954)