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. 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.

Add word to value in new column if it exists in another column

maygross
8 - Asteroid

What in db formula can I use to add "IoT" at the end of a value name in column "category" if "IoT" exists in a different column. I dont want to create a brand new column, but I want to just alter the current column. I also have a lot of different category values so I would prefer a formula where I dont have to list all of them out and say if Contracted and flag IoT then Contracted IoT. Is there some sort of way I can do this with concat?

 

current data:

FlagCategory

other

Contracted
IoTContracted
IoTCOAM

other

COAM
otherExpired

desired outcome:

FlagCategory

other

Contracted
IoTContracted IoT
IoTCOAM IoT

other

COAM
otherExpired
1 REPLY 1
TimN
13 - Pulsar

Here's a way with a simple if statement.  You prefer no if?

Labels
Top Solution Authors