cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ahxl Frequent Visitor
Frequent Visitor

Ordering of month name , why is it appearing in reverse order?

Hi all

 

I have a column in my dataset which gives a date, I have created a Calculated Column using the following formula 

Column = FORMAT('Customer Feedback Data'[Submit Date], "MMM")

 

This has converted all the date format values into the Month Names (Aug, Sep, Oct)

 

However, when I plot my graph using a Line Chart, for some reason its appearing as Oct, Sep, Aug.... I want these values reversed, how do I do this? 

 

Please see the screenshot below 

 

Dates Line Chart.png

 

Thanks
Ahxl

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator Eric_Zhang
Moderator

Re: Ordering of month name , why is it appearing in reverse order?

@ahxl

You can reference this thread Custom Sorting in PowerBI

3 REPLIES 3
dilumd Established Member
Established Member

Re: Ordering of month name , why is it appearing in reverse order?

Hi

 

In this case your converting date format into text and this will be sort based on alphabetical order (ascending or descending) not on monthly order (Jan, Feb, Mar etc). 

 

What you can do is you can filter your month name column by another column (eg. Month number column)

For that create a new column with month number and then filter your month name column by that column.

 

1.JPGCreate a new column for month no2.JPGadd your month name column3.jpgsort your month name column by month no column

Moderator Eric_Zhang
Moderator

Re: Ordering of month name , why is it appearing in reverse order?

@ahxl

You can reference this thread Custom Sorting in PowerBI

ahxl Frequent Visitor
Frequent Visitor

Re: Ordering of month name , why is it appearing in reverse order?

Thanks Eric, worked great. 

 

Thank you to everyone else as well for your help.


Regards

ahxl