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

IF stantment crashes with endif

filipjasz
5 - Atom

I am trying to make if statment in formula tool:

 

IF [CutoffTotalClaimAmount] < 2000 THEN '<2000'
elseif [CutoffTotalClaimAmount] < 5000 THEN '2000-5000'
else '>5000'

endif

 

but it is not working, anyone can tell me why? Everything seems to be ok untill I write 'endif'

1 REPLY 1
Emil_Kos
17 - Castor
17 - Castor

Hi @filipjasz,

 

The column that you are referring to isn't in the numeric format or the formula that you are writing isn't a string format.

 

I performed the test and it works for me:

 

Emil_Kos_0-1616161845485.png

 

Labels
Top Solution Authors