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

looping through dataset and output on record at time?

mrnice
7 - Meteor

Hi all,

 

I'm trying to have a flow which checks how many records are present in the dataset and outputs 1 record at time into a table until there are no more records. In my dataset each record has a unique ID

 

Is it possible to process one record at time?

1 REPLY 1
jdunkerley79
ACE Emeritus
ACE Emeritus

You could do this using an iterative macro.

 

2018-11-07_10-43-43.png

 

Use a sample tool to pick the first record, which you then process

 

Use another sample tool to skip the first record and use this as the loop for the iterative macro.

 

One issue is that there is a iteration limit on iterative macros which you may want to avoid.

 

Labels
Top Solution Authors