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

If then statement

skeen503979
8 - Asteroid

I believe this should be very basic, but I'm having trouble writing an IF THEN statement.

 

I have a list of departments and a list of fees/costs.  How can I add a new column that inputs the correct fee based on the platform?  I'm using the Formula tool to write this.

 

This is what I have so far.

skeen503979_0-1581625973367.png

 

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hi @skeen503979 ,

 

You are missing an else clause.

It should be 

IF A=something then B

elseif B=something then C

else null()

endif

 

Best,

Fernando Vizcaino

Labels
Top Solution Authors