Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Date Format

sharmilaj
7 - Meteor

Hi all,

 

I have my month and year in different columns. Need to combine the both and form date in MMM-YY format. 

MonthYear
12023

I need the output to be Jan-23. 

 

Kindly help with the Alteryx flow. 

Thanks in advance. 

2 REPLIES 2
BRRLL99
11 - Bolide

use formula tool to combine both columns

in second formula use datetimeparse("%B-%Y)

DataNath
17 - Castor

@sharmilaj bunch of ways to do this but here's one - if your [Month] and [Year] columns are already strings then there's no need to wrap the fields in the ToString() function:

 

DataNath_0-1676883904524.png

Labels