I have created an attribute using this formula:
LEFTPART(MONTH([Ticket created - Date]),3)+"-"+YEAR([Ticket created - Date])
However the order is going by alphabetical, and we need this to be in the actual date order.
Is there any way of doing this automatically? Or changing the formula to order it correctly?
Since it is unfeasible to order the set manually and we want to show graphs on multiple months...
It is the expected behavior for attributes like this – those combining multiple date attributes – to be ordered alphabetically by default, even when the option 'Sort like time attribute' is ticked.
I'm afraid there's no option to customize the attribute formula to have the values listed in chronological order.
A workaround that I can recommend, if you're working on a Table-type query, is to add the default Year and Month attributes before the custom attribute date and then just hide those columns (via Chart options menu). This way, the column for your custom Month-Year attribute will display the values chronologically. But, for other chart visualization types, this workaround would not be applicable; using Ordered sets might be the best option for other query types.