Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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