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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I change the date fomat of a dimension?

I have a Date feild as dimension.

How can I change its format to "DD-MMM-YY". I am getting just an integer right now.

Please Help.

Best Regards,

Gaurav Tyagi

1 Solution

Accepted Solutions
Not applicable
Author

hi

In script change to

date(Datefield,'DD.MM.YYYY') as DateField

View solution in original post

4 Replies
sreenivas
Creator III
Creator III

Date(FieldName,'DD-MMM-YY')

Not applicable
Author

hi

try this

LOAD

     Date,

     Year(Date) AS Year,

     Month(Date) AS Month,

     Day(Date) AS Day

     '

     '

     ';

LOAD

     Date(Date#(DateField, 'DD-MMM-YY')) AS Date

'

'

'

'

FROM ABC.txt; 

Not applicable
Author

hi

In script change to

date(Datefield,'DD.MM.YYYY') as DateField

Not applicable
Author

Thanx Guys