Hi,
I have two groups of stores, “small format” and “large format”. I need to calculate the distance between all stores to find the closest large format store to each small format store. I’ve successfully created a distance matrix, but because the output of the matrix is not all encompassing (i.e. if calc. dist. between A, B, C;A --> A =0, A–>B = 1, A --> C = 1.4, KNIME will not produce B --> A, C–> A, etc.), I’m not getting the correct results when ranking/filtering.
What’s the best way to split my data so that I can perform this calculation correctly?
forum_distance_example.knar (45.4 KB)
A quick example: The nearest large store to store # 2049 is store #212. However, the matrix says the closest store is #2094.

Thanks for your help!