Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

IF Formula

malcorr
8 - Asteroid

Hello Everyone, 

 

malcorr_0-1595560953319.png

 

I'd like an expression so that if i have a value on the "ROW" Column, and the respective value on the "Base Dataspec" column is "null" then i want a message on the "Base Dataspec" Column that reads "NOT IN BASE CALC". If not, then leave as is

 

Any ideas?

 

2 REPLIES 2

Hi @malcorr 

 

You will need a formula tool and select “Base dataspec” from the drop down list.

 

formula should look like this 

if !isempty([Row]) and isempty([Base dataspec]) then “Not in Base Calc” else [Base dataspec] endif

 

Hope this helps! Cheers!

grazitti_sapna
17 - Castor

Hi @malcorr , try this if it works for you. If the columns are empty rather than null then replace isnull with isempty in the formula used.

Formula:

if isnull([Row]) and isnull([Base Dataspec]) then "NOT IN BASE CALC" else [Base Dataspec] endif

 

grazitti_sapna_0-1595567373238.png

 

Sapna Gupta
Labels