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: 
Not applicable

Order bar chart by Date Timestamp field

Hi

I have loaded a field into Qlikview called ContactCreatedDate which contains dates in the format:

DD/MM/YYYY hh:mm:ss

I am using this field as a dimension in a bar chart with the expression:

=monthname(ContactCreatedDate)

Which formats it as Jan - 2009, Jun - 2012 etc. But when I try and order the bar chart by date it doesn't work. I have tried adding the ContactCreatedDate to the expression in the sort tab but this has no effect. Any ideas would be greatly appreciated!

Thanks

Labels (1)
2 Replies
Not applicable
Author

Try this instead:

date(ContactCreatedDate, 'MMM - YYYY')

Not applicable
Author

Right after I posted this I checked the 'Numeric Value' box in the sort tab and it works fine now. More luck than skill!