ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

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

Rayyl
Meteoro

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 RESPUESTAS 4
binu_acs
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
Cuásar

@Rayyl 

OllieClarke
16 - Nebula
16 - Nebula

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
Meteoro

Thanks guys!

Etiquetas
Autores con mayor cantidad de soluciones