Forum Discussion
Sorting by month/date in Past Year
I am setting up my visualizations to show the past year month by month. I have used the filters to limit the data to the past year, but would like the months sorted in order of how recent they were. For example, since it is February, I would like my visual's X axis to be sorted like Feb 2017, Mar 2017, Apr 2017, May 2017,..., Jan 2018, Feb 2018. I also would like to do the same thing with day by day data for the past month 27th, 28th, 29th,..., 25th, 26th.
4 Replies
- v-jiascu-msft
Microsoft Employee
Hi jws123,
What kind of data do you have?
Did you try the feature as the snapshot shows?
What's the status now?
Best Regards,
Dale
- jws123Regular Visitor
I am working with data from a DirectQuery in DateTime format. I have tried sorting by the month number but get the order 1, 10, 11, 12, 2, ..., 9.
- AnonymousNot applicable
Hello,
Direct Query doesn't support time intelligence.
https://docs.microsoft.com/en-gb/power-bi/desktop-use-directquery
Regards