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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Auto Increment column ...
Power Apps
Unanswered

Auto Increment column in sharepoint instead of ID

(0) ShareShare
ReportReport
Posted on by 26

Hi Powerapps developer team,

 

Can we create auto-increment column(serial number) in SharePoint same as Excel whenever we create a item . suppose if I delete a item i want to be in serial number 

 

Example : I Delete  99 item and 100 record/item should automatically become 99 number in an serial number order

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    What you're describing there is the functionality of a Row Number, not a Serial Number.

     

    Yes, SharePoint absolutely can auto-generate an incremented number for each row in a List, but to have that number automatically decrement when rows get deleted would be what's known as an "anti-pattern." That is:

    when you assign a unique number to a row, systems and people that need to work with that data expect to be able to rely on that number. They should be able to reasonably expect that if Blue Nike Hightops have Serial Number 12345 today, they will still be 12345 tomorrow, and next week, and next year. This is the whole point of giving them a Serial Number.

     

    Now, there is also a reason to have Row Numbers, which behave just the way you describe, but there is no need to put them in the database. Consider this: right now you're thinking about these numbers being in order when the list is sorted by when the rows were created, right? What if the list was sorted alphabetically instead? Would the numbers be any use to people all jumbled and out of order? I think it's likely the functionality you're looking for is not an inherent attribute of the row, but an attribute of the presentation layer.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard