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 / Create an ID unique id...
Power Apps
Answered

Create an ID unique identifier field that autoincrements with new records

(0) ShareShare
ReportReport
Posted on by 98
I want to have an ID field (integer) as a unique identifier for a record.  When I add a record I want this field to autoincrement and store it in the ID column.  Some of my tables do it automatically but others do not.  I checked the keys on the tables and they all have 'secondary key' as ID.   I don't see any differences between the tables that work and those that do not work.
 
I have the same question (0)
  • Verified answer
    Gabriel G. Profile Picture
    831 Super User 2025 Season 2 on at
    Hi,
     
    On a table, you can add an auto-increment column which you can add prefix and configure as you wish:
     
     
    If you want to talk about primary key, every table has a guid column as 'record ID'. When you work with tables in powerautomate or anything else, this 'record ID' field is the main 'key'. You can also add keys to your table to make fields unique or prevent duplicate values from records.
     
    I hope it helps!
    _________________________________________________
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard