Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Correct this Conditional Statement

StellaBon
11 - Bolide

IF Contains([Concat_Product_Category], "Technology")

AND
IF Contains([Concat_Shipping Method], "Freight")
THEN "REVIEW"
ELSE Null()
ENDIF

 

 

I have tried the Null with and without quotation marks and I'm still getting an error that this is a malformed statement. 

 

Thank you!

3 REPLIES 3
Oswaldo
6 - Meteoroid

You need to wrap the conditional statement with parenthesis.

IF (Contains([All Product Categories],"Technology") AND Contains([All Shipping Methods],"Freight")) THEN "REVIEW" ELSE Null() ENDIF

StellaBon
11 - Bolide

Thank you! I also had a second unnecessary IF in there. Thanks so much for your help, this was driving me crazy!

 

StellaBon

Oswaldo
6 - Meteoroid

You're right, I didn't notice the second IF. You're welcome!

Labels
Top Solution Authors