Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Renaming if Duplicate with Formula

insomned
8 - Asteroid

Hello, 

 

I would need a formula for IF a field in the column appears 2+ times THEN change the last character of a string in that field.

 

Ie, 

 

Name 

 

Tony

Tony

Mark

Isabel

 

Would change to

 

Name 

 

Tony

Tony_1

Mark

Isabel

 

Thank you! 

4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

Hey @insomned,

Herse a simple setup to achieve that: 

IraWatt_0-1652348185055.png

 

The multi row groups by name and counts the number of instances. The Formula then adds on the number if its greater then 1.

Hope that makes sense,

Ira 

 

 

Qiu
20 - Arcturus
20 - Arcturus

@insomned 
I like to use the Tile tool for the grouping and sequencing situation like this case.

0512-insomned.PNG

binuacs
20 - Arcturus

@insomned another way of doing this with 

 

binuacs_0-1652391395232.png

 

grazitti_sapna
17 - Castor

Hello @insomned, try this workflow it is dynamic. I have tried a few cases and it works.

 

grazitti_sapna_0-1652435876675.png

 

 

Sapna Gupta
Labels