Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
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
17 - Castor
17 - Castor

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

alexnajm
17 - Castor
17 - Castor

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
17 - Castor
17 - Castor

Happy to help