Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
krish2459
Creator
Creator

Month year number to month

Hi,

 

We have month year values as 43800,43525..

 

We nee to get month name from that.

 

Please let me know how to get month.

 

Thanks...

Labels (1)
7 Replies
Uday_Pasupuleti
Partner - Creator III
Partner - Creator III

Try Date(MonthYear,'MMM') as Month
tresesco
MVP
MVP

You need month; use month().

Month(MonthYear)

krish2459
Creator
Creator
Author

Spoiler
Hi ,



Not able to get the format.



Please find the sample sheet.I'm using qliksense



Thanks..
Frank_Hartmann
Master II
Master II

LOAD @1,Month(@1) as Month
FROM
[C:\Users\admin\Downloads\Book5.xlsx]
(ooxml, no labels, table is Sheet1, filters(
Transpose()
));
krish2459
Creator
Creator
Author

Hi,

 

We need to covert the month year number from the excel to MMM-YY.

 

But I'm getting month year numbers as 40800....

 

Thanks..

Frank_Hartmann
Master II
Master II

LOAD @1,date(date(@1),'MMM-YY') as date
FROM
[C:\Users\admin\Downloads\Book5.xlsx]
(ooxml, no labels, table is Sheet1, filters(
Transpose()
));
fallenangel6
Creator
Creator

LOAD @1,date(@1,'MMM-YY') as monyr
FROM
Book5.xlsx
(ooxml, no labels, table is Sheet1, filters(
Transpose()
));