Hi, I have a chart in which I have to show the data from the month of January to selected month.
My problem is my chart shows the months as expected however it starts from month of April. Actually, It should start from January as per calendar.
Please find attached screenshot & qvw file for reference.
Solved! Go to Solution.
Create this inline table in your script and Map your Month field with this table.
Load * INLINE [
It is better first create a separate field in your data model by concatenate 'Month' and 'Year' like MonthYear (Apr 2018, May 2018, Jun 2018 etc) and use that field in your chart.
After this in your chart-> go to Sort -> Sort by Expression (Ascending) =num(Month) and Numeric Value (Ascending)
Thanks for your kind reply. regarding this issue I have couple of charts, who are displaying correct month order like from Jan to Dec however for a specific char which is attached, it is not showing. could you please check the test file attached & check why it is not working for this chart. Rest of other charts it's showing in correct order.