Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Last Names starts with S

JenzEkan
8 - Asteroid

Hey Guys I have a data set and I want to filter the records whose last name starts with S.

 

Thanks.

7 REPLIES 7
DataNath
17 - Castor
17 - Castor

@JenzEkan you should be able to use a Filter expression with StartsWith([SurnameField], ‘S’) - your records of interest will come out of the top (True) anchor.

ShankerV
17 - Castor

Hi @JenzEkan 

 

One way of doing this.

 

ShankerV_0-1674822895796.png

 

Felipe_Ribeir0
16 - Nebula

Hi @JenzEkan 

 

One way of doing this

 

Felipe_Ribeir0_0-1674822896654.png

 

JenzEkan
8 - Asteroid

Sorry Guys,

Let me share the data set with you. In case of below data set, please let me know your inputs.

 

James*Stanford
Henry*Landmark
Mary*Shane*Jane
Sheen*Stans

grazitti_sapna
17 - Castor

@JenzEkan , You can do it in 2 ways. I have used both Regex_Match function and regex tool to achieve your desired output. You can consider any based on your requirement.

 

Using Filter Tool:

grazitti_sapna_0-1674823561106.png

Using Regex Tool:

grazitti_sapna_1-1674823596943.png

 

Sapna Gupta
ShankerV
17 - Castor

Hi @JenzEkan 

 

Please find the expected output.

 

ShankerV_0-1674823654586.png

 

Felipe_Ribeir0
16 - Nebula

Hi @JenzEkan 

 

One way of doing this

 

Felipe_Ribeir0_0-1674823682170.png

 

Labels
Top Solution Authors