We have list name "Location Data Entry" list, and column "Location Request ID" which need to generate auto ID incremental of puls 1 when new items submitted on SharePoint list.
There is lookup column name "Location Data". Data as below
Title Value
India IN
South Africa SA
England EN
West Indies WI
Now When user submit item on "Location Data Entry" and selected "South Africa" from lookup column. In this, "Location Request ID" need to generate as "SA-001". Incase if "SA-001" is already exist on the SP list means, Flow need check if request ID already exist or not and then it need to increment as "SA-002" like.
Similar way, if user select "India", then "Location Request ID" need to generate as "IN-001" only not like "IN-003". So for each column based on selection "Location Request ID" need generate Like SA-001, SA-002, IN-001, IN-002, EN-001, EN-002 etc.
Please guide us, under get items which filers need apply. Your suggestions or guidance's are highly appreciated.