Alteryx Designer Desktop Discussions

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

LEFT FORMULA

ClaudiaDib
5 - Atom

Hi all,

 

I am trying to replicate this excel formula in Alteryx: Left(Fieldname; Len(Fieldname) - Search(".";Fieldname)).

I use this formula: left([Fieldname],Length([Fieldname])-FindString([Fieldname],".")) but it does not work.

Anyone can help me?

 

Thank you

Claudia

3 REPLIES 3
NicoleDuhamel
8 - Asteroid

Hi Claudia

 

As far as I know, the Left expression only works with a string field and the number of characters to take - I don't think you can use another field as the number of characters. 

 

Is there another way you can tell the expression how many characters to take?

 

dougperez
12 - Quasar

If you want to take the strings before the "." this should work:

left([Field1],Length([Field1])-(FindString([Field1],".")-1))

ArturoJGarciaJmz
6 - Meteoroid

I just fin the easy way : Left([Field], ToNumber(FindString([Field], "-")))

Labels