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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Month order in Chart

Hi,

In Chart ( x-Axis) ,how to order the month in the order Jan,Feb,Mar for a year.Right now the chart show month in random order.

4 Replies
simondachstr
Specialist III
Specialist III

Go to sort and Sort by an expression like:

=Month(Date#(MONTH,'MMM'))

maleksafa
Specialist
Specialist

you have multiple options:

1) when loading the calendar table where you have the month names, add another field which is the number order, and in the chart sort by this number

2) when loading the month names load it as dual function with a number for sorting and in the chart sort by month name as numeric value

3) in your chart sort by expression, match(MonthName,'Jan','Feb','Mar','Apr'....)

Not applicable
Author

Hi Martin ,

Thanks for the reply.

I have solved this in loading script using "Month(date) " conversion for date field & set the sequence for month.

Not applicable
Author

Hi Malek,

Second option solved the query.