Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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