cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lefty
Post Prodigy
Post Prodigy

Increment reference number

Hi

I need help with being able to tell PowerApps to create and increment my reference number, this is a canvas app form and SharePoint Online is my data source

 

User1 will submit a form, but they will select from 1 of 3 screens only. 

If User1 selects Screen1 I'd like to have my reference number display something like this

 

REW-B-00001

 

If User1 completes Screen2 it would be REW-C-00001

 

If the reference number is already REW-C-00001, Then ideally the next number depending on selection could be REW-B-00002

 

Is this possible,  and how can i do this please?

15 REPLIES 15

@Lefty 
Did my my suggestion work for you?  Please let me know.

@mdevaney 

 

Thank You 😀

REW-B-00001

REW-B-00002

REW-C-00001

REW-B-00003

REW-C-00002

I Want this ,how create this type of data command

@Hasnain_Haider 

Please start a new thread.  This one has already been solved.

Plz send a link

@Hasnain_Haider 

Check the 1st page of this thread.  The solution is always at the top of the thread.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (47,105)