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.
SOLVED

Formula Tool - Trim Left

727
7 - Meteor

Hi all-

 

I have a file titled GDW Analyst Refresh Month day 4 digit year (e.g. GDW Analyst Refresh August 3 2021). I selected the option to pull the file name in as a field so I could isolate the date and append it to my outputs. The below function worked successfully for my July file but I am having some difficulties with August that I can't put my finger on. As you can see from the images below, I cannot successfully isolate the date (it either appears as ugust 3 2021 or h August 3 2021). Let me know if anyone has any suggestions!

 

727_0-1628532334563.png727_1-1628532342782.png727_2-1628532353885.png

 

Thanks in advance!

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @727 

 

Use below formula

 

Replace([Text], "GDW Analyst Refresh ", "")

 

Should do the trick. Trim function is a risky function which can trim more than expected. Basically trim functions all characters in whichever order it is.

 

Hope this helps : )

727
7 - Meteor

It works! Thank you 🙂 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @727 

If the response helps please don't forget to mark it as solution.

Cheers and have a nice day!

Labels
Top Solution Authors