Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

If value is greater than and less than certain values, output text incorrectloutputting 0

muddobber26
8 - Asteroid

Hello - I am trying to display one of three letters based on where a value falls within a specific range of numbers. See below. The formula keeps outputting "0" instead of X, Y or Z, and I cannot figure out why.

 

Alteryx 1.PNGAlteryx 2.PNG

1 REPLY 1
IraWatt
17 - Castor
17 - Castor

Hey @muddobber26,

You dont need to put [X,Y,Z] = "X", just put "X" and do the same for all the other THEN statements besides the last ELSE statement, that ones fine. Because youve already selected the X,Y,Z column Alteryx knows the THEN statement should input into X,Y,Z eg:

if [RunTot_Part %]<=10 THEN "X" ELSEIF ....

HTH,

Ira

Labels