Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

More options for IF statements needed

$
0
0

Hi all,

I am working on  a IF Statement where I need to check multiple conditions. I am aware that there are no OR/AND stsatements, but how would I translate the following into proper Alteryx syntax?

 

IF
[Infrastructure Involvement] ='NULL'
OR [Infrastructure Involvement] = 'Migration - to be classified'
OR [Infrastructure Involvement] = '0 Project has no infrastructure part'
AND [Request Status] = 'NULL'
THEN 'PPM entry has no Infrastructure part'

 

ELSEIF
[Infrastructure Involvement] = '1 Project contains infrastructure part'
AND [Request Status] = 'NULL'
THEN 'PPM entry has Infrastructure part but not started'

 

ELSEIF
[Request Status] = 'Request for more information'
OR [Request Status] = 'Under Review'
OR [Request Status] = 'Detailed Estimate'
OR [Request Status] = 'Detailed Estimate Approved'
OR [Request Status] = 'Detailed Estimate Submitted'
OR [Request Status] = 'High Level Estimate Submitted'
THEN 'Proposal Phase'

 

ELSEIF
[Request Status] = 'Implementation'
[Request Status] = 'Implementation approved'
THEN 'Implementation'

 

ELSEIF
[Request Status] = 'Completed'
OR [Request Status] = 'Closed'
THEN 'Completed"

 

ELSE
'Canceled/on hold/other'

 

ENDIF

 

Thanks for your help ...


Viewing all articles
Browse latest Browse all 4999

Trending Articles