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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to Convert Month name and year for the formatt like this "Apr-12"

Hi All,

I need to convert MMM-YY for ex "apr-12" formatt to get quartet and year.

3 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

You could try:

QuarterName(Date#(YourDateField,'mmm-YY')) AS QuarterYear

Hope this helps,

Jason

Not applicable
Author

Depending on your field datatype Date(FieldA,'MMM-YY')

SunilChauhan
Champion II
Champion II

ue below code in script

MonthName&'-'&Year as MonthYear

or

MonthName&'-'&Year in direct dimension

hope ths helps

Sunil Chauhan