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

Repete record ID "n" times

Achille123
5 - Atom

Hello, 

 

I'd like to have a very simple information.

 

I would like to create a record ID but instead of having a sequence of 1,2,3,4,etc.

 

I want 1,1,2,2,3,3,4,4, etc.

 

How can I achieve this?

 

Thank you

3 REPLIES 3
IraWatt
17 - Castor
17 - Castor

Hey @Achille123,

Probably a lot of ways to do this but I'd think the simplest is just to create the record ID's twise then union it back together:

IraWatt_0-1651688761579.png

HTH,

Ira

 

JarekSkudrzyk
11 - Bolide

@Achille123 hi, you can add generate rows tool and configure it to stop after 2 repetitions:

JarekSkudrzyk_0-1651689104417.png

 

DataNath
17 - Castor
17 - Castor

Like @IraWatt said, there are multiple ways to do this! Multi-row option attached.

 

DataNath_0-1651689107468.png

 

Labels
Top Solution Authors