Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Assigning unique ID

NairutiPatel
6 - Meteoroid

Hi,

 

I am looking to assign a unique ID corresponding to unique 'cancer type' in the attached excel without loosing the duplicated rows of records. For example, all the 'Breast cancer' rows should have the same unique ID. Similarly, both the melanoma rows should have the same unique ID. 

 

I can identify the unique rows using the 'Unique' function and assign ID to those using the 'Record ID' function but i loose the duplicated rows. How would i go about this in Alteryx desginer without loosing the duplicated rows?

 

Many thanks in advance,

Nairuti  

2 REPLIES 2
Drussek
9 - Comet

Why not like this?

Drussek_0-1597165618851.png

 

NairutiPatel
6 - Meteoroid

Thanks Drussek!

 

Labels
Top Solution Authors