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: 
Not applicable

Monthname

usually monthname will get you 'MMM YYYY', how can it be done if we want the format to be MMM-YY?

eg;

monthname ( '2001-10-19' ) returns 'Oct 2001' - by default

how to get

'Oct-01' instead of 'Oct 2001'.

Labels (1)
3 Replies
jagannalla
Partner - Specialist III
Partner - Specialist III

Try this:

=Date(monthname ( '2001-10-19' ),'MMM YY')

Otherwise you can try

=Date('2001-10-19' ,'MMM YY')

pgalvezt
Specialist
Specialist

Hi, Go to properties - Tab Number (Format) - Date (Yo can change the format date in this option)

Hope Help you!

MayilVahanan
MVP
MVP

HI

Try like this

=Date(monthname ( '2001-10-19' ),'MMM YYYY')

returns oct 2001

hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.