Free Trial

Alteryx Designer Desktop Discussions

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

Duplicate rows until condition is met

soncoku
9 - Comet

Hey everyone. Hope you're doing well.

I have a question and I'd appreciate any help.

I have a column

 

 

NameMonthCostService1Service2
Soni540xx
Jordan

3

40xx
Anna1040xx

 

Let's take the first row
I want it to duplicate it and add the month by 1 until month = 12

and then continue with the next name etc...


For example

 

NameMonthCostService1Service2
Soni540  
Soni640  
Soni740  
Soni840  
Soni940  
Soni

10

40  
Soni

11

40  
Soni

12

40  
3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @soncoku,

 

This was cool.

 

Emil_Kos_0-1610620955140.png


I rarely have a possibility to use this tool in practice. 

 

 

The output itself:

 

Emil_Kos_0-1610621234196.png

I think it should work for you!

soncoku
9 - Comet

So simple and yet so powerful.
@Emil_Kos Thank you. During these months that I've been asking questions here in the Alteryx community, you've been a great help to me. I just want to say thank you and let you know that I appreciate your help a lot 🙂

Emil_Kos
17 - Castor
17 - Castor

Hi @soncoku,

 

Thank you for your kind words 🙂 

 

It is a pleasure to help people across the community.  Especially to those that are appreciating your efforts. 

Labels
Top Solution Authors