Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamically creating new rows from a cell with a range of values

wvanbus93
5 - Atom

I am trying to dynamically create new rows from a column that has a range of values (e.g. 0100 - 0199).

I am looking to create a row for each value (0100, 0101, 0102, etc.)

 

Category CodeCategory NameSIC Code

1Agric  Agriculture0100-0199
1Agric  Agriculture0200-0299
1Agric  Agriculture0700-0799
1Agric  Agriculture0910-0919
1Agric  Agriculture2048-2048
2Food   Food Products2000-2009
2Food   Food Products2010-2019
2Food   Food Products2020-2029
2Food   Food Products2030-2039
2Food   Food Products2040-2046

 

I have attached the entire file for reference as well.

 

Thanks,

2 REPLIES 2
OllieClarke
16 - Nebula
16 - Nebula

Hi @wvanbus93 You can use the generate rows tool to do this:

OllieClarke_0-1575565562914.png

 

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @wvanbus93,

 

I think this is what you're trying to achieve, i've used the generate rows tool.

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

Labels
Top Solution Authors