Skip to main content
Solved

Filtering Top Result

  • October 24, 2017
  • 3 replies
  • 118 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.

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
  • 7843 replies
  • Best Answer
  • October 24, 2017

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
  • 7843 replies
  • October 24, 2017

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
  • 2 replies
  • October 24, 2017
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