Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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