Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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