11-26-2020 11:22 AM
@Jonathan_Rao wrote:
Hi,I attached VI here .Willing to get your proposal.
LV version 2020.
This is now a different problem because you have more than two columns! Which column should be the key? Do you want all column elements at the end?
11-26-2020 11:47 AM - edited 11-26-2020 12:02 PM
11-26-2020 12:04 PM
Of course a lot of simplifications would be possible if we have more information about the data. For example, is the first column always sorted by time? How about the last column?
11-26-2020 12:41 PM
@altenbach wrote:
Of course a lot of simplifications would be possible if we have more information about the data. For example, is the first column always sorted by time? How about the last column?
Well, your first column is NOT sorted in time, but if we still can assume that for each unique element in the second column, the newest is last, we can still simplify. Here are two possibilities. (all give the same result with your current sample data).
The map version scales better for very large inputs, of course.
11-27-2020 03:09 AM
Hi,altenbach
I can not appreciate you more on helping this topic .
This reorder thougts and your snaps helped a lot.
Now I can solve test value reorder issue .
Great work!!!