Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Sample Tool

Data set with 100 records is connected to Sample tool which configurations of the sample tool will ALWAYS  return 10 records a output

 

  • First N% of rows,,,N=10

If we give above then it returns  9 records

thanks a lot in advance

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @hussainamreliwala,

 

It seems to work for me. Can you provide snapshot of your workflow with the connection progress and snapshot of sample tool. Enable the highlighted option below.

atcodedog05_0-1627280327969.png

 

This way we will get to know the rows flow and will be easy to debug.

 

Hope this helps : )

 

Thanks for your help

Below is sanpshot of the workflow, everytime you run the workflow it gives 10 records constantly

 

hussainamreliwala_0-1627295045392.png

 

mtouiti
Alteryx Alumni (Retired)

Hey @hussainamreliwala its normal because in your configuration says output First 10% of your whole dataset (100 records) which is 10 records. try with more or less data the result should be different, 

 

Mo

mtouiti
Alteryx Alumni (Retired)

Furthermore, @hussainamreliwala 

in case you want to always return 10 random records use the Random Sample Tool, below how to use it 

 

mtouiti_0-1627297651009.png

 

Labels
Top Solution Authors