cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Incrementing Numbers Automatically

With the help and encouragement of the awesome user base on here, I created a simple app to track revisions to orders...

 

This is the entry screen:

 

power_apps_revision_07.jpg

 

I am looking for a way to code this in such a way that the revision number is automatic and increments when needed. What I would love for it to do is automatically increment the revision number by 1 if one already exists for the JOB # and if it is the first revision to default to 1. 

Any suggestions? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Incrementing Numbers Automatically

Hi @Garak0410 ,

 

You can do as below:

Default property of the text box of screening:
Default : Text(if(Max(SPListName,'revision')=0,1,Max(SPListName,'revision')+1))

That will show 0 for the first review and it adds one for all the next revisions.

I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Incrementing Numbers Automatically

Hi @Garak0410 ,

 

You can do as below:

Default property of the text box of screening:
Default : Text(if(Max(SPListName,'revision')=0,1,Max(SPListName,'revision')+1))

That will show 0 for the first review and it adds one for all the next revisions.

I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

Highlighted
Super User
Super User

Re: Incrementing Numbers Automatically

Hi @Garak0410,


I just want to follow up with you on this issue to see is it resolved or still you see any challenges.

If you see any challenge/need further help let me know I am always happy to help.

Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,394)