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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Firebird1
Contributor
Contributor

Dimension order

I would like to reorder the Days of the week on the X-axis of my line graph to the days of the week in order (Mon, Tue, Wed, Thu, Fri).  The issue I'm having can be seen below. I've tried sorting the data but can only sort it according to numerical value or alphabetical order.

Is there a fix for this?

Firebird1_0-1666497208763.png

 

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

The Weekday() returns a dual value with an integer between 0 and 6 that corresponds to the day of the week (0-6) which you can use to sort the values.

On the sort tab of the chart,  select numeric as sort order.

Alternately, by sort expression as below:

=Match([Day of Week], 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun')

View solution in original post

2 Replies
BrunPierre
Partner - Master II
Partner - Master II

The Weekday() returns a dual value with an integer between 0 and 6 that corresponds to the day of the week (0-6) which you can use to sort the values.

On the sort tab of the chart,  select numeric as sort order.

Alternately, by sort expression as below:

=Match([Day of Week], 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun')

Firebird1
Contributor
Contributor
Author

Thank you so much for taking the time to reply. This worked for me!