I want to calculate auto increment a field name by group order Column "ID" into column "Name" in ModelBuilder and my input is shapefile.
Example:
I want to calculate auto increment a field name by group order Column "ID" into column "Name" in ModelBuilder and my input is shapefile.
Example:
This can be achieved with a simple model and copying some prepared code from the help file.
Here is an input table, note that the ID column values are not necessarily sequential.
The model is:
The iterator is grouping by the ID field and the calculate field tool is set up as:
The code is found on the help file here
The final output is: