Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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