Hi @USCHUKN1ME
That is exactly what my proposed workflow did since the beginning. It’s just that it’s done on different data that I created since you had not provided any data at that time. If you plug your given data in my workflow, you will get the results that you wanted:
Input:
Results:
The 2 additional Rule Engine was to show you 2 things:
- How to properly achieve what you were trying to achieve with
replace($Coordinate#1$,"?",substr($Coordinate#3$,0 ) )
- Move Coordinate#3 and Coordinate#4 to Coordinate#1 and Coordinate#2 respectively so you don’t have to split your distance calculation (Coordinate#1+2 and Coordinate#3+4)
If you don’t need to address this, you can remove the Rule Engine and the other related nodes:
And you get the same results:
As you can see, it can be done via only 2 nodes, the Create Collection and the Ungroup nodes.
Here’s the updated workflow with your data: Move multiple columns into 1 column.knwf (27.8 KB)