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

Last date of the month

sharmilaj
7 - Meteor

Hi all,

 

I'm trying to get the last date of the month from my MMM-YY format. Basically trying to bring the EOMONTH() formula of excel. 

MonthDesired output
Nov-2230/11/2022
Dec-2231/12/2022

Kindly help with the formula in Alteryx for this. 

Thanks!

1 REPLY 1
apathetichell
20 - Arcturus

datetimetrim(datetimeparse([datefield]+"01","%b-%y%d"),"lastofmonth")

 

try that in formation field - where datefield is your datefield in MMM-YY format. Basically this says convert that into a date of the format 3 letter month-2 letter year - date - and then give me the last of month. If you need it formatted in your non-Alteryx/Standardized date way you'd then apply datetimeformat to your date with "%d/%m/%Y" as your settings.

Labels
Top Solution Authors