Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Error says malformed if statement

soncoku
9 - Comet

I am writing this code in the formula in a new column but I don;t know why i get an error

 

if [Platform] = "Leading Ads" then
([Count]*[fee] ) + [Sum_Sum_amount]

 

2 REPLIES 2
Kenda
16 - Nebula
16 - Nebula

Hey @soncoku 

 

Don't forget that when writing if statements in Alteryx, you must include the "else" and "endif" portions of the function.

 

Kenda_0-1596469771437.png

 

 

Hope this helps!

soncoku
9 - Comet

arrgh, this syntax.

Thanks a lot.

Labels
Top Solution Authors