Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Remove rows with a specific Number at the beginning and fixed size

Rayyl
7 - Meteor

Hello everyone, a short and probably simple question for you. How can I remove certain rows in a column that start with a certain number and have a fixed size (see attachment, for example the number "5" with a size of 8 digits, so that basically only the "58913" remains). Thanks in advance!

Best regards

4 REPLIES 4
binuacs
21 - Polaris

@Rayyl use the Functions StartsWith() and Length()

 

in the filter tool set the condition like below

 

StartsWith(toString([Invoice Number])),'5')
AND
Length(toString([Invoice Number) <= 8)

.  

MilindG
12 - Quasar

@Rayyl 

OllieClarke
15 - Aurora
15 - Aurora

Hi @Rayyl I think what you want is the following custom filter:

NOT (Startswith(tostring([Invoice Number]),'5')
AND 
Length(ToString([Invoice Number]))=8)

This will remove any 8 character Invoice Numbers which start with a 5

 

Hope that helps,

 

Ollie

Rayyl
7 - Meteor

Thanks guys!

Labels
Top Solution Authors