Alteryx Designer Desktop Discussions

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

How to find specific column contains alpha or numeric

Khanzali007
8 - Asteroid

Hi,

 

I need to find specific column contains alpha or numeric, refer sample data.

 

where Column 5 Alpha should only contain Alpha only, else it should show "Invalid Alpha" 

Example - Row 1 = ABCDF = Valid

                 Row 2 = SHJ3F = Invalid Alpha

 

Similar in Numeric as well. 

Where Column 4 Numeric should only contain numeric values only, else it should show "Invalid numeric"

Example - Row 1 = 7686 = Valid

                  Row 2 = 125U = Invalid numeric

 

Thanks in advance

4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

Hey @Khanzali007,

I would use the formula tool using the Regex Match function which checks if all the characters are digits or alpha:

IraWatt_0-1657037237810.png

Any questions or issues please ask :)
HTH!
Ira

 

binuacs
20 - Arcturus

@Khanzali007 one way of doing this

binuacs_0-1657037419159.png

 

Khanzali007
8 - Asteroid

@IraWatt @binuacs  Thanks for the solution. Both works fine.

Thank you.

IraWatt
17 - Castor
17 - Castor

No worries @Khanzali007 😄

Labels