We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter based on prefix

ShantanuDagar
8 - Asteroid

Hello,

 

I am looking help on building a logic to filter based on Right_ prefix

 

I have a transposed a dataset which was joined earlier.

Need to separate normal names and Right_(Names)

 

So want to build a filter which does the same:

A

Right_A

B

Right_B

71_ABC

Right_71_ABC

 

Just an example that after Right_ it can be alphabets or number too or a combination of number and string like 71_ABC.

 

Thanks

5 REPLIES 5
ShankerV
17 - Castor

Hi @ShantanuDagar 

 

Can you please let us know what is the expected output.

 

 

ShankerV
17 - Castor

Hi @ShantanuDagar 

 

Please check whether you are looking something like this.

 

Left([Field1],5)= "Right"

 

ShankerV_0-1677576941609.png

 

Many thanks

Shanker V

Christina_H
14 - Magnetar

If they've all been renamed with the Right_ prefix, just use that in a filter.

 

Left([Name],6)="Right_"

ShantanuDagar
8 - Asteroid

Expected output would be: 

 

2 separate streams:

 

A

B

.

 

Right_A

Right_Right_B

.

 

All normal names in 1 stream.

All Right_ prefixed names in 2nd stream.

ShankerV
17 - Castor

Hi @ShantanuDagar 

 

Then this works.

 

Left([Field1],5)= "Right"

 

Stream1:

ShankerV_0-1677577164550.png

 

Stream 2:

 

ShankerV_1-1677577179465.png

 

Many thanks

Shanker V

Labels
Top Solution Authors