community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE
Alteryx Gallery is experiencing a problem in which system emails are not being sent out. As a result, if you are attempting to sign up for a new account, you may be unable to verify your email address. We are working to solve this as soon as possible and will remove this notice once resolved.

Convert True to "YES"

Highlighted
Meteoroid

New to Alteryx

 

I have a workflow , that pulls data from SharePoint and writes to qvx file (QlikView File). One of the Columns has Boolean values.  How can i create a new column having values converted from True to Yes before writing to the file.

Alteryx Certified Partner
Alteryx Certified Partner

Hi @qlikvw2019 

 

Formula Tool - Create a New Column:

IF [Column] THEN "Yes"

ELSE "No" ENDIF

 

This should work.

 

Cheers,

Alteryx Certified Partner
Alteryx Certified Partner

@qlikvw2019 ,

 

Try a formula that turns 'True' to "Yes" and everything else to "No" with:

 

Switch([Field],"No","True","Yes")

or

IIF([Field]="True","Yes","No")

 Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Pulsar
Pulsar

Hey @qlikvw2019 

 

I would recommend adding a Formula tool and creating a new string field that says 

replace([FieldName],"True","Yes")

 

Labels