ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

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