Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Substring does not work in Filter using custom

SithDavid
5 - Atom

Using the Filter Tool 

Adding a custom Filter

Substring([PLAN1],1,2) = "SL"

 

But does not return any Trues

Example of the string in [PLAN1]

SL_BASECOAT

FB_1M2461RLB

 

 

What am I doing wrong?

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @SithDavid ,

 

To get information from the first 2 characters with this function, you need to use Substring([PLAN1],0,2)

You could also use a left([PLAN1],2) function and have the same result.

 

Let me know if that works for you.

 

Best,

Fernando V.

SithDavid
5 - Atom

Thank you.  That Worked

 

Labels