Alteryx Designer Desktop Discussions

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

How to Identify Cells with Trailing Space

setzer715
5 - Atom

If I have a cell with information like "DOOR ALARM NSI" that has trailing space how can I filter that out WITHOUT trimming it.  I need to identify those for action, not modify the data.

3 REPLIES 3
LordNeilLord
15 - Aurora

Hey @setzer715,

 

You could use something like this in the filter tool:

 

Length([Field1]) = Length(Trim([Field1]))

Trailing Spaces.PNG

 

@LordNeilLord

Part time Tableau, Part Time Alteryx. Full Time Awesome


Data Lover

BenMoss
ACE Emeritus
ACE Emeritus

You could also use the filter tool with the statement

 

Right([field],1) != " "

setzer715
5 - Atom

Thank you both.  Both solutions worked.  I went with Length([Field1]) = Length(Trim([Field1])) because this identified both trailing and leading spaces.  I wasn't even aware that I had leading spaces until running this filter!

Labels