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?