Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

If Statement is null

Masond3
8 - Asteroid

HI All, 

 

Need some help 

 

I have two columns called "LifeCycle Status" & "PersonId"

 

Where PersonID is populated (i.e. not Null) i would like add a new lifecycle status called "Operations"

 

I am thinking the formula to do this would be something along the lines of 

 

IF IsNull([person_id]) THEN " " ELSE ";Operations"+[Lifecycle Status]" ENDIF

 

Current Data 

 

Lifecycle StatusPerson ID 
Sales1111
Sales;Marketing2222
Sales 
Sales 
Sales;Marketing 
 3333

 

 

 

Expected Outcome : 

 

Lifecycle StatusPerson ID LifeCycle Overal
Sales1111Sales;Operations
Sales;Marketing2222Sales;Marketing;Operations
Sales Sales
Sales Sales
Sales;Marketing Sales;Marketing
 3333Operations

 

Looking forward to yourhelp

1 REPLY 1
Felipe_Ribeir0
16 - Nebula

Hi @Masond3 

 

 

You could use something like this (workflow attached):

Felipe_Ribeir0_0-1665047251075.png

Felipe_Ribeir0_1-1665047373289.png

 

If the provided answer helped you to solve the problem/was correct, please accept it as a solution :)

 

Thanks.

Labels