In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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