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 do you change the format of the Dimensions in a chart?

I know that I can change the format of the expression but I'm not sure how to change the format of the dimension. It is in a date format. At the moment it is like 01/01/01 but I would like to change it so that it looks like Mon 1.

Thanks

1 Solution

Accepted Solutions
MayilVahanan

HI

Try like this

=Weekday(date#('01/01/2012','DD/MM/YYYY'))& ' '&day(date#('01/01/2012','DD/MM/YYYY'))

or

=Weekday(DateField) &' '&Day(DateField)

if date format is in correct format..

Hope it helps

or

load in sxcript like that .ex:

Load *, weekday(Datefield)&''&Day(Datefield) as WeekDayField from tablename;

Then use that in chart as dimension

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

3 Replies
christian77
Partner - Specialist
Partner - Specialist

Hi:

Formatted dimension:

Num(YourDate,’YourFormat’) -------????will work???

Or

Aggr(Num(YourDate,’YourFormat’), YourDate)

Or

Aggr(weekday (YourDate) &',' & day(YourDate), YourDate) 

MayilVahanan

HI

Try like this

=Weekday(date#('01/01/2012','DD/MM/YYYY'))& ' '&day(date#('01/01/2012','DD/MM/YYYY'))

or

=Weekday(DateField) &' '&Day(DateField)

if date format is in correct format..

Hope it helps

or

load in sxcript like that .ex:

Load *, weekday(Datefield)&''&Day(Datefield) as WeekDayField from tablename;

Then use that in chart as dimension

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

The =Weekday(DateField) &' '&Day(DateField) worked thanks for your help.