We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
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