In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!
Free Trial

Alteryx Designer Desktop Discussions

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

If - I want it to return the original value of the column

Jessica_Nakatake
7 - Meteor

Hello everyone!

 

I need to get my IF to return the same number of the column I'm working with, but it keeps getting something wrong (don't know why...) - what I'm trying to do is to put all data back from 2013 equal to 2013, but after it I want to keep as it is.

Any ideas?

 

IF [AMY]<=2013
THEN 2013
ELSE [AMY]
ENDIF

4 REPLIES 4
EKBS83
7 - Meteor

Hi @Jessica_Nakatake, what error message are you getting, can you paste a screenshot of this part of the flow and your formula tool?

Jessica_Nakatake
7 - Meteor

Aye, there's no specif error I guess... seems a general one

Jessica_Nakatake_0-1647594686327.pngJessica_Nakatake_1-1647594735298.png

Ohhhhhhh may be because it is not "double"?

 

Jessica_Nakatake
7 - Meteor

I changed it to DOUBLE and now it worked kkkkkkk

EKBS83
7 - Meteor

Haha yep I was going to suggest maybe you have it in string form but you figured it out 😁 nice job!

Labels
Top Solution Authors