In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Issue with Left trim

Taki
8 - Asteroid

I am trying to left trim the file but is working for all except when doing profit where it trims the first 2 characters as well so I am left with "ofits". Appreciate help. Thanks

 

Taki_0-1593530584596.png

 

2 REPLIES 2
Blake
12 - Quasar

Hi @Taki 

 

Try using replace([upd_column],"Curr-","") and replace([upd_column],"Prev-","") rather than trim left. The Trim function is trimming PR from profits. 

Zas3NfkB
7 - Meteor

@Taki you could also save yourself from needing to type a bunch of code and do a text to column tool with 2 columns and a deliminator on -. That way you can do the entire field at once 

Zas3NfkB_0-1593531595179.png

 

Labels
Top Solution Authors