Forum Discussion

Johnl's avatar
Johnl
Regular Visitor
6 years ago
Solved

Please Help

Hi Having problems  sorting want to sort by month instead of day the file is from sharepoint can anyone help Thanks John

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi John,

     

    That looks a little strange! First thing to do is to go to the three little dots on the top right of the visual and select sort by, at the bottom. Ensure the chart is sorted by date.

     

    If that doesn't work, double check your date actually is a date, because PowerBI sorts dates as a whole - it shouldn't sort by days! To do this just click on your column / measure in the fields ribbon and go to the column tools section on the top ribbon. There you can determine what the data type is, and if necessary, switch it to date.

     

    Let me know if that helps, otherwise perhaps post some sample data.

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi John,

     

    That looks a little strange! First thing to do is to go to the three little dots on the top right of the visual and select sort by, at the bottom. Ensure the chart is sorted by date.

     

    If that doesn't work, double check your date actually is a date, because PowerBI sorts dates as a whole - it shouldn't sort by days! To do this just click on your column / measure in the fields ribbon and go to the column tools section on the top ribbon. There you can determine what the data type is, and if necessary, switch it to date.

     

    Let me know if that helps, otherwise perhaps post some sample data.

    • Johnl's avatar
      Johnl
      Regular Visitor

      Thanks

       

      Changed it to a date field and all sorted

       

      Thabks for you help