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 / How to add incremental...
Power Apps
Answered

How to add incremental id from specific number to existing collection

(0) ShareShare
ReportReport
Posted on by 11

Hi,

I want to add incremental id from specific number to existing collection.

 

Existing Collection look like below:

 

ATAPart NumberDescription
0737-700COCKPIT737-700COCKPIT
210123FALOW FLOW DETECTOR
210123FA2LOW FLOW DETECTOR
21116817-3DOOR AREA
21123268-1-1SUPPLY DUCT CHECK 4 1 2
21162BL902CABIN DUCT TEMP DEG FER
21182820-3PRIMARY SECONDARY HEAT EX
21183010-4WATER-AIR CONDITIONING

 

I want to add id field starting from 16 not starting  from 1 

 

IDATAPart NumberDescription
160737-700COCKPIT737-700COCKPIT
17210123FALOW FLOW DETECTOR
18210123FA2LOW FLOW DETECTOR
1921116817-3DOOR AREA
2021123268-1-1SUPPLY DUCT CHECK 4 1 2
2121162BL902CABIN DUCT TEMP DEG FER
2221182820-3PRIMARY SECONDARY HEAT EX
2321183010-4WATER-AIR CONDITIONING

 

Any suggestions on how we can achieve this

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,427 Most Valuable Professional on at

    Hi @Sakthi1 ,

    Try this

    Clear(YourNewCollection);
    ForAll(
     Sequence(
     CountRows(YourCollection)
     ),
     Collect(
     YourNewCollection,
     Patch(
     Last(
     FirstN(
     YourCollection,
     Value
     )
     ),
     {ID: Value + 15}
     )
     )
    )

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • Sakthi1 Profile Picture
    11 on at

    Wow! This works perfect.

  • WarrenBelz Profile Picture
    155,427 Most Valuable Professional on at

    @Sakthi1 ,

    Glad I could help

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard