Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Format from yyyymm to mm.yyyy

Jeyaraj_M
7 - Meteor

Hi Team,

 

Need a quick help

 

i am trying to convert the format in a column from yyyymm to mm.yyyy when i try to convert the output i am getting as mm.yy and not as mm.yyyy

 

i tried this formula DATETIMEFORMAT(DATETIMEPARSE([Calendar Month/ Year],'%Y%m'),'%m.%y')

 

My source is as below

 

Calendar Month/Year
202002
202002
202002
202005
202006
202007

 

Expected output should be as follows

 

Expected Result
02.2020
02.2020
02.2020
05.2020
06.2020
07.2020
2 REPLIES 2
ImadZidan
12 - Quasar

Hello @Jeyaraj_M ,

 

Something like this?

 

have a look. I hope it helps.

bhrmitra
10 - Fireball

Hi  

 

Using a the formula will give you the desired result 

Formula - DateTimeFormat(DateTimeParse(ToString([Calendar Month/Year]),"%Y%m"),"%m.%Y")

 

1.png

 

If this solves your issue please mark the answer as correct and also hit the like button, if not let me know! I've attached my workflow for you to download if needed.

 

Thanks,

Abhra Mitra

Labels