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

count the number of digits in a code

BillyL14
8 - Asteroid

I have a list of codes, for example 568392728921, 473892, 219372178, 478273842374 etc.

I want to filter out codes that have less than 10 digits, is there a way to do that? 

Thanks

2 REPLIES 2
PhilipMannering
16 - Nebula
16 - Nebula

Yes! You can use the filter tool with the expression

 

 

length([Code]) >= 10

 

 

If your code is an integer then you can use,

Length(ToString([Code])) >= 10

 

The records you want will flow out the True Anchor. 

 

Hope this helps,

Philip 

BillyL14
8 - Asteroid

thanks!

Labels
Top Solution Authors