Alteryx Designer Desktop Discussions

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

Error: type mismatch: string provided where a number is required

SKRJALA1
6 - Meteoroid

Hi,

 

I am trying to use a parse formula using if conditionals and left function and I am getting the error "type mismatch: string provided where a number is required"

Both "reference" field and new output column are set to V_WString. What am I missing? Thanks!

SKRJALA1_0-1659432422489.png

 

2 REPLIES 2
binuacs
20 - Arcturus

@SKRJALA1  the syntax of the Left function is given below

 

binuacs_0-1659433150877.png

https://help.alteryx.com/20221/designer/string-functions

 

in your use case use the Contains function

 

If Contains([Reference],'KBMAS') Then 'Sloania' 

ElseIF  ..............

SKRJALA1
6 - Meteoroid

Thanks!

Labels