Alteryx Designer Desktop Discussions

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

What tool can i used to convert one value to another

jaemilao
8 - Asteroid

Hi,

 

I have a value of "ABS" under my last column, and i want to convert the value of "ABS" to "Bond" instead. Should i use a formula with If statement? trying to draft the formula but not having any luck,

 

Thank you for your help

 

jaemilao_0-1662652294586.png

 

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @jaemilao,

Yes a formula is perfect for this use case. A formula like this works:

IF [Instrument type] = "ABS" THEN "Bond" ELSE [Instrument type] ENDIF

IraWatt_0-1662652492475.png

The community has some quick and easy videos on formulas and the Formula Tool here https://community.alteryx.com/t5/Interactive-Lessons/tkb-p/interactive-lessons/label-name/Writing%20...

 

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

 

chukleswk
11 - Bolide

You'll want to use the formula tool and the statement should look like:


if [Right_instrument_type] = 'ABS' Then 'Bond' else [Right_instrument_type] endif

Labels