Hello Everybody,
I am creating a SharePoint list customized form on PowerApps. I am trying to concatenate a unique ID using the previous item ID + 1. The idea is to initiate the first item on the list with 1, and have the next item automatically assigned with the number 2 while been concatenated on the Unique ID. Users will not be able to edit the ID# on the form.
Please see below formula I am currently working with to concatenate the Unique ID.
This formula is placed on the Default property of the Unique ID input datacard.
Concatenate(
"E",
Sheet_Size_Drop_Down.Selected.Value,
Switch(Texas_District_DropDown.Selected.Value,
"SETX", "1",
"NTX", "2",
"SETX - Lufkin", "2",
"SETX - Beaumont", "2",
"SETX - Huntsville","2",
"SETX - Orange", "2",
"SETX - Vidor", "2",
"STX", "3",
"HOU NW", "4",
"HOU-SE", "4",
"LA", "4",
"MS", "4",
"TXC", "5"),
"-",
(This is were I will need the Previous Item ID number + 1),
"-",
Request_Type_Drop_Down.Selected.Value
)
Note:
I understand I will might need to use whatever function is giving me the last Item ID +1 in the Submit button since if we concatenate this on the Unique ID earlier, there will be issues if multiple people work on new forms at the same time.
Any help With this would really be appreciated.