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 after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Malformed If Then using && with OR in several of the &&

M_ThompsonWatermark
7 - Meteor

I've been scrounging through lots of examples, but don't seem to find one that combines a bunch of and this,this this where one of the 'this' has multiple potential answers.  I think my written version has a clear enough conversation voice.  Any help with syntax is great.

 

IF
[Coverage In Question]="No"
&& [Liability Category]!="unknown"
&&[Large Loss]="no"
&&[Total Loss Ind]="no"
&&[Paid]=0

&&[MCC]="N"
&&([Task Status]="Estimate Received"OR"Supplement Received")
&&([SIU Status]="Investigation Closed"OR"No Referral"OR"Referal not accepted")
&&([Reserve Age Bucket]="<10 Days"OR"10-30 Days"OR"30-60 Days"),
&&([Coverage]="COLL"OR "COMP"OR "LIPD")
Then "Y"
ELSE "N"
ENDIF

1 REPLY 1
M_ThompsonWatermark
7 - Meteor

I 'think' I solved my own problem?   BUT since I couldn't find other examples, I'll leave this here for someone else and maybe it'll help them?

 

IF [Coverage In Question]='No'
&&[Liability Category]!="unknown"
&&[Large Loss]="no"
&&[Total Loss Ind]="no"
&&[Paid]=0
&&[MCC]="N"
&&[Task Status]IN("Estimate Received","Supplement Received")
&&[SIU Status]IN("Investigation Closed","No Referral","Referal not accepted")
&&[Reserve Age Bucket]IN("<10 Days","10-30 Days","30-60 Days")
&&[Coverage]IN("COLL","COMP","LIPD")
Then "Y"
ELSE "N"
ENDIF

Labels
Top Solution Authors