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

Need to add 'Other' In Blank or empty Column

mmustkee
10 - Fireball
Hi team, Please refer example sheet below. I need to add 'Others' in blank rows for all the three columns. Please help, We have three columns by the name of Train, Car and Bike. Train columns has all "Text fields" with some empty row Car column has numeric and text fields both with some empty row Bike column has all numeric fields with some blank row. Please add "Others" in empty rows Train Car Bike tar sa 98 pra 12 kar bt 12 phu rt 39 23 cn 9 33 dt 8 pt 33 cat ar 67 ar for, 12 89 tt tt- 44 tt Thanks Mohammad Mustkeem
3 REPLIES 3
AngelosPachis
16 - Nebula

Hi @mmustkee ,

 

You've forgotten to attach the sheet it seems

 

Thanks,

 

Angelos

danilang
19 - Altair
19 - Altair

Hi @mmustkee 

 

You can use a Multi-field Formula like this

 

danilang_0-1612015769953.png

 

The Multi-field formula tool is the only tool that can act on the values in a column and change the column type as well.  This will be useful here since you need to change the column type of the Bike field from numeric to string since your adding the "Other" string to a column that contains only numbers

 

The ToString() function around the current field value is required since you have to convert the numeric Bike values into strings to insert them into the Bike column which has been converted to a string

 

Dan

 

 

 

mmustkee
10 - Fireball

Thanks a lot for quick solution. It worked 

Labels
Top Solution Authors