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 Automate / Power Automate to crea...
Power Automate
Answered

Power Automate to create auto increment from list rows

(0) ShareShare
ReportReport
Posted on by 42

Hi all,

 

I plan to use automate to create auto increment from 1 based on the list rows, and from 1 to 256 rows the automate is exactly right. However, when the number reaches 257 no matter how many times I add rows it will always be 257 and never increase to 258,259......

 

Can you help me to solve this problem? Thanks so much! 

The follwing is my automate:

tracycccc_0-1702448904700.png

The Compose is 

 

length(outputs('List_rows_present_in_a_table')?['body/value'])

 

The variable is 

 

concat('HKTW-DN-',add(1,length(outputs('List_rows_present_in_a_table')?['body/value'])))

 

The wrong result is 

tracycccc_1-1702449085353.png

 

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @tracycccc ,

     

    Please try to set Top Count to 5000.

    vxiaochenmsft_0-1702449322962.png

     

     

    Best Regards,

    Wearsky

  • tracycccc Profile Picture
    42 on at

    Hi @v-xiaochen-msft ,

    I just set the top count to 5000, but the result remains 257.

     

    tracycccc_2-1702452302091.png

     

     

    tracycccc_1-1702452265448.png

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @tracycccc ,

     

    Please turn on pagination.

    vxiaochenmsft_0-1702452810321.png

    vxiaochenmsft_1-1702452819839.png

     

    Best Regards,

    Wearsky

  • tracycccc Profile Picture
    42 on at

    Hi @v-xiaochen-msft ,

    It worked! Thank you so much!!!!!!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 291 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 109 Super User 2026 Season 1

Last 30 days Overall leaderboard