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 Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

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
binu_acs
21 - Polaris

@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
Top Solution Authors