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 / Autonumber column for ...
Power Apps
Answered

Autonumber column for existing records

(0) ShareShare
ReportReport
Posted on by 3

I have created an autonumber column through Power Apps for a table (Leads) that has existing records.  How can I update a set of existing records (either all or created on or after X date) with an autonumber? 

If it is not possible to automate this and I did an update with an export/import from excel, does it matter if the numbers are within the range of the seed value (500000)? I would like them to be unique.

https://learn.microsoft.com/en-us/power-apps/maker/data-platform/autonumber-fields

 

I have the same question (0)
  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello, @rrslaven,

     

    Auto-Number Column will set the value when a new record is created. You can Delete existing records and reload them and that will create the Auto-Number values starting from your Seed value.  

     

    Auto-Number Columns will never allow duplicates. 

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @rrslaven ,

     

    I would export the records to Excel and set the values of the existing records and set the seed value to 1 higher than these values otherwise you will get duplicates because the process just increases the value, it will not check if that number is already in use.

  • DE-23081130-0 Profile Picture
    105 on at

    Hi @rrslaven maybe you can try with a Power Automate flow that takes the rows with null autonumber column and update this row with the same autonumber schema but out of the actual rows range. Does it make sense for you?

    Cheers!

    Diego.

  • Gowri Halan Profile Picture
    262 on at

    @rrslaven Try below approach.

    1. Just export all the leads where auto number column is null.

    2. after you export delete all these records from Dataverse

    3. Now import these back again. I think automatically auto number would be applied to these records from 1 incremented from already existing record(for example if you already have a record with number 5000020) then for these imported record it will start from 5000021).

     

    I haven't tried it but it should work since auto number will be automatically created whenever record is created in Dataverse.

  • candide Profile Picture
    on at

    @AhmedSalih wrote:

    Hello, @rrslaven

     

    Auto-Number Columns will never allow duplicates. 


    as written by dpoggemann in the post above that's wrong as I run into this issue with my dataverse table.

    I got same ID which is Autonumber when entering via canvas form.

    So be aware as in Dataverse an Autonumber column does not behave like all the long-year existing RDBMS out there.😀

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard