Alteryx Designer Desktop Discussions

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

Iterate on line (number of iteration depending on filed value)

hubertderavel
5 - Atom

Dear community

My data set looks like:

StoreIncidentLoop_NB
Store1IncidentA3
Store1IncidentB2
Store2IncidentC3

 

And I want to loop on the table, depending on the Loop_NB field. Loop_Nb = number of loop to create repeating the data in each line.

Result would look like

StoreIncidentLoop_NB
Store1IncidentA3
Store1IncidentA3
Store1IncidentA3
Store1IncidentB2
Store1IncidentB2
Store2IncidentC3
Store2IncidentC3
Store2IncidentC3

 

Thanks for your help.

I hope I at least teased your mind here :)

4 REPLIES 4
jdunkerley79
ACE Emeritus
ACE Emeritus

Use the generate rows tool.

 

That is exactly what it is for. sample attached

danrh
13 - Pulsar

Something like the attached?

ponraj
13 - Pulsar

Here is the sample workflow for your case. Hope this is helpful. 

 

workflowworkflowResultsResults

hubertderavel
5 - Atom

Thanks for your help on this!

Labels