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

Malformed if statement

SylviaK
8 - Asteroid

Hi 

 

I am trying to right the below formula. Why does this give me a malformed if statement? Many thanks, 

 

SylviaK_0-1611139667050.png

 

5 REPLIES 5
Emil_Kos
17 - Castor
17 - Castor

Hi @SylviaK,

 

Did you pick string as a format of the cell? 

 

Are you sure that GIA column is in a numeric format? 

atcodedog05
22 - Nova
22 - Nova

Hi @SylviaK 

 

Replace else if with elseif 

atcodedog05_0-1611140239044.png

No space between.

 

Hope this helps 🙂

 

SylviaK
8 - Asteroid

Hi Emil

 

GIA Aging column is Int16 and I did pick string format for the cell

 

SylviaK_0-1611140395471.png

 

Emil_Kos
17 - Castor
17 - Castor

Hi @atcodedog05,

 

You are like always right.


I totally missed it 🙂 

SylviaK
8 - Asteroid

 this works😉

Labels
Top Solution Authors