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 / Autogenerate Case Number
Power Apps
Unanswered

Autogenerate Case Number

(0) ShareShare
ReportReport
Posted on by 32

I have chosen a work progess  tracker template &  I have added a new column as Case number and  I need to autogenerate the case number in SharePoint list the number for example starting is20540 next when a new item is created the number should be 20541 and so on. It should work in SharePoint list and also power apps .can you please suggest me a solution 

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @Sohaibmohammad ,

    I can't figure it out how you create a new record in your Sharepoint list. So let me guess..

    1. Using a form:

        Set the Update property of the Case_DataCard to (I suppose that case column is a number type): 

        Value(Last(yourSharepointList).Case)+1 

    2. Using Patch() function:

     

    Patch(yourSharepointList,
     Defaults(yourSharepointList),
     {
     .....
     Case: Value(Last(yourSharepointList).Case)+1 
     .....
     }
    ) 

    where .... means the other values to patch.

     

  • Sohaibmohammad Profile Picture
    32 on at

    I need this to add in power apps

     

  • Sohaibmohammad Profile Picture
    32 on at

    Sohaibmohammad_0-1624015538471.pngSohaibmohammad_1-1624015564920.png

    I ahve attached sharepoint list and formula to generate the autonumber but when I clik the button the number is not showing can you pleasse help me

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard