Skip to main content
Solved

I would like to select the most recently added attribute which has a duplicate ID on another line.


ruth_h
Contributor
Forum|alt.badge.img+4

I have records with the same identifier but I would like to select the most recent activity on the record. So for example - 2 records with an ID of "2465100000" but against that ID are 2 different cross references added on different dates. I want to select the most recent one (or the oldest). Please can anyone advise as to the best way to do this so I have only one line remaining based on date. Many thanks

Best answer by ebygomm

If you sort by date in descending order then use a duplicate filter, the features with the most recent dates will exit the unique port. The duplicates will exit the duplicate port.

 

If you want to keep the oldest instead, sort in ascending order

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • Best Answer
  • May 4, 2021

If you sort by date in descending order then use a duplicate filter, the features with the most recent dates will exit the unique port. The duplicates will exit the duplicate port.

 

If you want to keep the oldest instead, sort in ascending order


ruth_h
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 4, 2021

That's very helpful - thank you


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings