Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

which operator/parameter should be used with V_String in IF Conditional formula

nkapadia
6 - Meteoroid

I have a check number field in Input data file which is V_String data type. I am trying to create additional column name in output as “Property Type” which is also V_String. I want to create a IF conditional formula if Check number starts with 007, then Property type value should be assigned as MS01 else CK13. I am not sure which operator/parameter should be used with V_String.

2 REPLIES 2
binuacs
20 - Arcturus

@nkapadia IF both field are string type you write the formula like below

IF StartsWith([number],'007') Then 'MS01'
Else 'CK13'
EndIf
nkapadia
6 - Meteoroid

Thank you!

Labels