Skip to main content
Solved

Filtering Top Result


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
Did this help you find an answer to your question?

3 replies

takashi
Influencer
  • 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
Influencer
  • October 24, 2017
takashi wrote:

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
  • October 24, 2017
takashi wrote:
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

 

 


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