Hello,
I have a Sharepoint list form which I customised with PowerApps. One field contains a unique ID that is automatically generated, and the format was specified by my users to be YY#### where the first 2 digits are the current year followed by a 4 digit running number (which is sufficient) to keep track of how many items were submitted in that year.
My current formula is this:
Right(Year(Today()),2)*10000+Last('MyList').ID+1
which gets the job done for this year, but I was wondering what's the best approach to reset the running number to 1 next year?