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 Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

Starts with formula help

binsell
8 - Asteroid

Hi All - I know this is a simple formula but for some reason Alteryx is not picking it up! I have checked and my course code column is a string data type so not sure what I'm doing wrong. I have attached my data before and after so can see what I'm trying to achieve. I have a course code column and if the course code START WITH 'TT' I want to return 'NITE' and any others leave as blank. Thank you for your help in advance :) 

5 REPLIES 5
alexnajm
19 - Altair
19 - Altair

IF StartsWith([Course Code], “TT”) THEN “NITE” ELSE Null() ENDIF

alexnajm
19 - Altair
19 - Altair

What part is not working on your end?

binsell
8 - Asteroid

Thanks Alex, when I type the 'THEN' it doesn't pick this part of the formula up so anything after then is not working :( This is the formula I originally did but doesn't like it :( 

binsell
8 - Asteroid

Ignore that, I have just deleted the formula tool and done it again and now likes it! Thank you so much 

alexnajm
19 - Altair
19 - Altair

Happy to help