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

Change Date to Last day of Prev Month

jenner85
8 - Asteroid

Hello there! 
I am trying to do the following, help is appreciated. Thank you! 

 

DatePeriod
8/5/20207/31/2020
9/2/20208/31/2020
3 REPLIES 3
jenner85
8 - Asteroid

Well, I actually answered my own question and used these 2 formulas:

 

DateTimeAdd([Date],-1,"month")

DateTimeTrim([Date],"lastofmonth")

 

 

TheOC
16 - Nebula
16 - Nebula

hi @jenner85 

I acheived this with the following workflow:

TheOC_0-1603287570032.png



Please find it attached!


 

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
TheOC
16 - Nebula
16 - Nebula

@jenner85  beat me to it!

Glad you got sorted 🙂 

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
Labels
Top Solution Authors