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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Time Sorting

I am trying to sort my bar chart by time, but somehow Qlik Sense is messing up the sorting.

2.JPG

If I were to show only the HH numbers, Qlik Sense sorts it perfectly. However, when I input & '00hrs' into the function such that it shows '1100hrs' instead of just '11', the order gets jumbled up.

Is there any way for me to write the script?

Data input is via a dimension called "TIME IN" in the format HH:MM:SS TT, but in my chart, I am trying to show only HH TT (e.g. 11AM)

1 Reply
robert_mika
MVP
MVP

I assume that because your format will change to string .

Did you try to use Sort Numerically in the Sorting options?

If that does not help look at:

How to use- Dual()

Feeling Qlikngry?

How To /Missing Manual(18 articles)