Alteryx Designer Desktop Discussions

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

Splitting range to multiple row

Ragini1
8 - Asteroid

 

Hi All,

 

I am trying to split the range into multiple rows using the Generate row tool. But it's throwing error as "Value didn't change after loop expression".

Can you please share your ideas as to how to do this?

FieldValue
1-5a
12-18b
40-42c
8 REPLIES 8
BrandonB
Alteryx
Alteryx

You can take a text to columns to split the Field column into two columns on the hyphen. Then you will want to use the generate rows to create a new column that initializes on the first number, the criteria is that the new column is less than or equal to the second column (larger number), and the increment loop is the new field+1

Ragini1
8 - Asteroid

I tried the similar way but still having the issue. First used text to column tool and then generate tool to run the loop.

atcodedog05
22 - Nova
22 - Nova

Hi @Ragini1 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1605285991469.png

 

Workflow:

atcodedog05_1-1605286003319.png

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

BrandonB
Alteryx
Alteryx

range.png

Ragini1
8 - Asteroid

I got it. Thank you.

Ragini1_0-1605286079718.png

 

messi007
15 - Aurora
15 - Aurora

Hello,

 

Are you looking for something like this

 

messi007_0-1605286021209.png

If not could you please share a the desired output please 🙂

 

Regards,

Ragini1
8 - Asteroid

Thank you. I was looking for this output. 

I got the output using this workflow.

Ragini1_0-1605286219500.png

 

atcodedog05
22 - Nova
22 - Nova

Glad you hear you sorted it out @Ragini1 🙂

 

Mine was also something similar.

Feel to encourage the other solution authors also for their quick response of help by marking there post also as solution.

 

Happy to help 🙂

 

Cheers and Happy Analyzing 😀

Labels