Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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 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_Spill2
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