Forum Discussion
Unable to sort by month when using scatter chart
Pragati11 hi, this is the pbix link. im not sure why it doesn't work only for scatter. If I change it to line or bar chart, it sorted month in order. but i needed a scatter chart. Please help https://1drv.ms/u/s!AoKh3nlpMpSOgmSAg1TMiavknFhn?e=NDMg6m
Hi Anonymous ,
Go with the approach that Ashish_Mathur has suggested if you are still having this issue.
The format of your Date column on that chart should be date type rather than datetime format. Also, sometimes if there are blanks or nulls in your date column which you are using on the chart, may also end up creating issues. Therefore, it is advised to have a Calendar table in your data model with relationship on your dataset used for reporting. Then use DATE column from this Calendar table on your chart.
For steps on doing this refer following article:
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
Thanks,
Pragati