Skip to main content
Question

How do I identify the belonging Unique Value to a duplicate value via the DuplicateRemover?

  • December 19, 2013
  • 5 replies
  • 82 views

How do I identify the belonging to a duplicate value?

 

I use the DuplicateRemover, which outputs the following result:

 

 

For Example:

 

1 -> Unique Port

 

2 -> Unique Port

 

2 -> Duplicate port

 

3 -> Unique Port

 

 

With this Transformer I have now identified the values ??that occur more than once (The second"2").

 

 I want to identify the values(The first "2") which end up?? in the Unique Port, and are identical with the values??, which end up in duplicate port.

 

 

My english is not very good. Hope I have made ??myself clear enough. 
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

  • Author
  • December 19, 2013
It is sufficient to identify both values ??at once (and maybe a third,...)

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • December 19, 2013
Hi,

 

 

Why dont you do a count per attribute value?

 

That will tell you that the value 2 has two elements.

 

 

Itay

ebygomm
Evangelist
Forum|alt.badge.img+49
  • Evangelist
  • December 19, 2013
If you want to return all features that have a value that is not unique (not just the second instance) you can use a matcher.

  • Author
  • December 19, 2013
Thank you. your solution works. You should mention the StatisticCalculator. That would have made it easier for me;)

 


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • December 19, 2013
Hi,

 

 

As in many things in FME there are several ways to acomplish something, the StatisticsCalculator is the obvious choice, but this can also be done with the Counter, Aggregator and ExpressionEvaluator.

 

Itay