Dear @steevej , thanks for taking time on my question, really appreciate that.
I marked your answer as the solution.
In my real data set I have more fields, I’m trying to put more field regarding to your logic.
1 Like