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 Apps
Answered

Counter ID

(0) ShareShare
ReportReport
Posted on by 10

I have appended data with excel everytime user enters his details.. I have an extra column with column name as ID number .... it should start from 1 and get incremented for every new entry of details .. 

How to add this counter varaible .. can someone help me with this ..

Thankyou

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Jas_min ,

     

    You could set a variable.

    Set(Thevar,1)

     

    Then when you execute an event you could use the formula:

    Set(Thevar,Thevar+1)

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

  • Jas_min Profile Picture
    10 on at

    Hi @v-xiaochen-msft ,

    Everytime Thevar starts from 1 and I get value of 2 .. everytime I click on submit button ... It's only 2 .

     It's not increasing .. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard