Hello,
I have a dataset that looks similar to the image shown and I need to create the value in the attribute ROUTE shown in red. I need to create a new value for ROUTE whenever Duration>1 or Duration is Null.
The data needs to be sorted firstly by Name, then by TimeStamp.
Then, whenever the previously mentioned condition of (Duration>1 or Duration is Null) is met, a new value needs to be created for ROUTE.
How do I create a new value (with for example a new sequential number) whenever I come across (Duration>1 or Duration is Null) in my sorted data?