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

Converting Y/N (or null) Data to 1/0 (or null)

tsbryan
6 - Meteoroid

I have a very large dataset that needs Y/N turned into 1/0for further analysis. There are roughly 100 variables to recode all at the same time. An additional issue is that there are also (null) values and I would like for those to remain (null)

 

I've attached a sample snippet of the data.

 

I've fiddled around with ToNumber in the Multi-Field formula but everything I have tried has not given the desired output.

 

Any help would be greatly appreciated.

2 REPLIES 2
binuacs
21 - Polaris

@tsbryan This can be achived using the Multi-Field formula tool

 

binuacs_0-1649435076432.png

 

tsbryan
6 - Meteoroid

Many thanks!

Labels
Top Solution Authors