In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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