Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

X axis date formatting on chat.

I have below dates on X-axis

  • 08/14/2011
  • 07/09/2011
  • 06/08/2011
  • etc.

How to format these in Month-yyyy format or dd-mm-yyyy format.

Thanks in advance for help.

1 Solution

Accepted Solutions
MayilVahanan

Hi,

     In Script,

     You can change like this,

     Load *,Month(Date) & ' -' & Year(Date) as MonthYear from tablename;

     Month('08/14/2011') & ' -' & Year('08/14/2011') gives Aug-2011

    

     Hope it helps

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

View solution in original post

2 Replies
MayilVahanan

Hi,

     In Script,

     You can change like this,

     Load *,Month(Date) & ' -' & Year(Date) as MonthYear from tablename;

     Month('08/14/2011') & ' -' & Year('08/14/2011') gives Aug-2011

    

     Hope it helps

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

Thanks formated my axis using your below suggestion-

Month('08/14/2011') & ' -' & Year('08/14/2011') gives Aug-2011