duplicate filter transformer based on PID
That has no way to select which of the three gets passed. Thanks anyway.
That has no way to select which of the three gets passed. Thanks anyway.
hi mdk - if you know what the result is in column 2 you could create a rule for that in test filter. However, if it is random I don't see how you could select that field specifically.
If it is NE,NW then create a rule for that. Otherwise, there is no solution.
It looks like there are several ways to distinguish the consolidated row from the other rows with the same pid: the qtr column of the consolidated row has the longest string, also it contains a comma.
Depending on the rest of your data, one of these may be enough to set up your filter.
If you want the consolidated value above the unconsolidated value you could for example sort the data so the consolidated go first. Or test on values that have a comma and merge on those first then merge the non-comma-containing values with a second featureMerger to the unmerged requestors.
I think an overview of the total workbench could help us lead you to the right direction. Now we don't understand how you get consolidated values in the first place and why you only want to merge the consolidated value.