ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Duplicate rows until condition is met

soncoku
コメット

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件の返信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
コメット

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. 

ラベル
トップのソリューション投稿者