In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula tool not working for my If formula for a string value

JonaV
8 - Asteroid

Hi,

 

I would appreciate some help on this issue

 

I have a formula as follows

 

Event Year (field nam)

IF [EP_Scenario]="2019Actuals" THEN "2019" ELSE IF [EP_Scenario]="2020Actuals" THEN "2020" ELSE "" ENDIF ENDIF

 

However, when I run the workflow and check the data in the Event year field there are blanks instead of the 2019 and 2020 years that I specified in the formula. Does anybody why this is happenning?

 

Thank you,

 

JV

11 REPLIES 11
JonaV
8 - Asteroid

That was it! There were white spaces in the EP_Scenario, so I used a Data Cleansing tool

 

Thanks

atcodedog05
22 - Nova
22 - Nova

😂😂

 

Anyways glad to hear it got solved 🙂

 

Happy to help 🙂

 

Cheers and Happy Analyzing 😀

Labels
Top Solution Authors