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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

year month issue

Hi All,

 

i have a date  column   

calendarDate

11/01/2019

11/02/2019

12/01/2020

10/01/2019

so i want output  like   

Oct-19  

Nov-19

Dec-20 

 

i used below  but im getting   

 Date(calendarDate,'MMM-YY')  as Mydate

 

but result in listbox i can seee

Oct-19

0ct-19

oct-19

Nov-19

Nov-19  

 

months is showing duplicates   .. usaally listbox show distinct values right?month issue.PNG

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try like:

 Date(MonthStart(calendarDate),'MMM-YY')  as Mydate

View solution in original post

4 Replies
tresB
Champion III
Champion III

Try like:

 Date(MonthStart(calendarDate),'MMM-YY')  as Mydate

karthiccr
Contributor II
Contributor II

Hi,

The data is still interpreted as Date type. try converting to String using TEXT.

Text(Date(Date#(F1,'DD-MM-YYYY'),'MMM-YY')) as MMMYY;

Thanks,

karthik

soniasweety
Master
Master
Author

Thank you its working fine . 

 

 

soniasweety
Master
Master
Author

its not working.   showing blank .