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.
RÉSOLU

Malformed if statement

SylviaK
Astéroïde

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 RÉPONSES 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
Astéroïde

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
Astéroïde

 this works😉

Étiquettes
Auteurs des meilleures solutions