I have a data tree that contains a series of branches. I would like to recieve only 1 branch then multiple branches have the same value (the green dot). The branches to be removed is based on the size of another value (the red dot). I would like only to recieve the branch where the “red dot” has the lowest value.
There is 3 branches with the value 4.6. The branches with the values 84028 and 98637 should be removed as they are larger than 70588.
I have tried to visualize what I am after.