Forum Discussion
Sorting by Month Number
rarora20 make sure to change date type for your new column M# to whole number, it is string , you will not get correct sort because with string sort will go like this
1
10
11
12
2
3
4
5
6
7
8
9
and that is the reason you see Jan, Oct, Nov, Dec and so on..
- sevenhills8 years agoSuper User
In the query editor, select your query, select your month (ie., number) column, right click, change type, click whole number.
You can do the same using Data Type as "whole number".
Basically, when you added conditional column, it shows Data Type as Any. You need to fix it as Whole number.
After this, Verify: Data Tab in the main app: Make sure for the month: january, feb ... column, sort by column is still the number column.
Save. Now the order should be good and recreate the chart (if it is not fixed).
- parry2k8 years agoSuper User
Awesome, glad to head that issue is fixed :)
Cheers,