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

Alteryx Designer Desktop Discussions

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

Malformed If statement

SamCrowell
5 - Atom

I am trying to set a value based on what a string is but I keep getting a malformed if statement, What is the fix here? Thank you!!!

 

 

IF [Package] = "Appearance Technology" THEN 1490
ELSEIF [Package]="Exterior Protection Package" THEN 1110
ELSEIF [Package]="Handling Package" THEN 1270
ELSEIF [Package]="Interior Package" THEN 1649
ELSEIF [Package]= "Parking Technology Package" THEN 1734
ELSEIF [Package]="Technology Package" THEN 1795
ELSEIF [Package]= "None" THEN 0
ENDIF

1 REPLY 1
Bren_Spill
12 - Quasar
12 - Quasar

IF [Package] = "Appearance Technology" THEN 1490
ELSEIF [Package]="Exterior Protection Package" THEN 1110
ELSEIF [Package]="Handling Package" THEN 1270
ELSEIF [Package]="Interior Package" THEN 1649
ELSEIF [Package]= "Parking Technology Package" THEN 1734
ELSEIF [Package]="Technology Package" THEN 1795
ELSEIF [Package]= "None" THEN 0 ELSE 0
ENDIF

Labels
Top Solution Authors