In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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