Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Iwin
Partner - Creator
Partner - Creator

Converting to date format

Hi,

I have date in below format 

'V32022001' .

Here format is V3&YYYY&0&01...last 2 digits are month number.

I want to show this as Apr 22 in MMM YY format.

Tried using following but no output is coming up.

DATE(date#($(vPeriod),'V3YYYY0MM'),'MMM YY');

 

How to resolve this?

Labels (2)
1 Reply
justISO
Specialist
Specialist

Hi, maybe

=date(MakeDate(left(right('$(vPeriod)',7),4), right('$(vPeriod)',2)) ,'MMM YY')