In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula tool if then statement giving 0 values in a column instead of string

ShantanuDagar
8 - Asteroid

Hey,

 

I am working on a dataset with 3 columns.

 

Based on the empty cells in 1st 2 columns, value in 3rd needs to be updated to available, not available.

 

If both column 1, column 2 empty, then column 3 should show available, and in all other cases not available.

 

The if then condition using formula tool is giving me 0 values in the column instead.

 

Using this...IF (IsEmpty([Column 1]) AND IsEmpty([Column 2])) THEN [column 3]= "Not Available" else [column 3] = "Available" endif

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @ShantanuDagar 

 

Try this one

 

IF (IsEmpty([Column 1]) AND IsEmpty([Column 2])) THEN "Available" else "Not Available" endif

Felipe_Ribeir0_3-1671624694423.png

 

 

 

Sarreddy
9 - Comet
Labels
Top Solution Authors