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

i want to create a filter to check if all the values in the colunm are in upper case

Raj
16 - Nebula

how to use the filter tool to check if all the values in the column are in upper case

example- ABC
Acdcf

xyz

ref

earth

TEST

 

i want to apply filter and T anchor should show - TEST and ABC while F contains rest of the values.

11 REPLIES 11
binu_acs
21 - Polaris

@Raj 

image.png

caltang
17 - Castor
17 - Castor

Try this my friend:

 

REGEX_Match([Field1], Uppercase([Field1]),0) = -1

 

 

image.png

 

Solution courtesy of @NicoleJohnson : https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Filter-for-string-values-that-... 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
mbarone
16 - Nebula
16 - Nebula

Since there's no function that does this, and because "=" is not case sensitive, you'll have to create a new field (say, "UPPER") where UPPER = Uppercase([your field here]).  Then Join it to itself on [your field here] = UPPER.  Join IS case sensitive, so only records that are fully uppercase will come out of the J anchor.

Raj
16 - Nebula

Thank you every one for help

mbarone
16 - Nebula
16 - Nebula

Nice one @binu_acs ! Didn't know regex had \u !

caltang
17 - Castor
17 - Castor

@Raj have you tested my solution as well? If it helps, you can mark it as an accepted solution as well to help others.

 

My solution is similar to what @mbarone described.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Raj
16 - Nebula

@caltang @binu_acs @mbarone 
Do we have anything to check the Title case?
Uttar Pradesh
Delhi

are true

while

Uttar pradesh
delhi

DELHI

are False

caltang
17 - Castor
17 - Castor

There is: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Title-case-the-first-word-of-a... 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Raj
16 - Nebula

@caltang i think there is mis understanding at your end please go through the challenge again

Labels
Top Solution Authors