Skip to main content
Solved

Filtering Top Result

  • Oct 24, 2017 12:04 AM UTC
  • 3 replies
  • 174 views

I am sure this is a really simple action, but I don't seem to be able to sort it out.

 

I'm needing to filter off the top result out of a sorter in an attempt to make my workbench generic. I've run the data through a sorter, and the details I need are showing in line #1.

 

 

Cheers for any assistance provided.

 

 

Best answer by takashi

Hi @gavin_082, the Sampler transformer helps you.

  • Sampling Rate (N): 1
  • Sampling Type: First N Features
  • Randomize Sampling: No

The first feature will be output from the Sampled port, and others will be output from the NotSampled port.

View original
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.

3 replies

takashi
Celebrity
  • Best Answer
  • Oct 24, 2017 12:10 AM UTC

Hi @gavin_082, the Sampler transformer helps you.

  • Sampling Rate (N): 1
  • Sampling Type: First N Features
  • Randomize Sampling: No

The first feature will be output from the Sampled port, and others will be output from the NotSampled port.


takashi
Celebrity
  • Oct 24, 2017 12:12 AM UTC

Hi @gavin_082, the Sampler transformer helps you.

  • Sampling Rate (N): 1
  • Sampling Type: First N Features
  • Randomize Sampling: No

The first feature will be output from the Sampled port, and others will be output from the NotSampled port.

Correction: The Sampling Type should be "First N Features". The answer has been updated.

 

 


  • Author
  • Oct 24, 2017 12:20 AM UTC
Correction: The Sampling Type should be "First N Features". The answer has been updated.

 

 

Thank you very much. As I said, it was an easy task, I just couldn't get it