Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

WeekDay Sort on Column chart

Hi All,

I have the below sample data. When I created column chart with weekday on X-axis & Value on Y-axis. I am not able to order the weekday with actual day of the week order i.e monday, tuesday, wednesday....Holiday. I tried creating new column with switch DAX but its not working. I am getting below result on PBI.  Can you please help to sort?

 

 

WeekDayValue
Monday5
Friday4
Saturday3
Tuesday6
Wednesday1
Thursday8
Sunday9
Holiday2

 

Thanks

 

8 Replies

  • Anonymous ,

     

    You need to sort the WeekDay column using Value column. There is a option to do so in Data View.

    After that, sort your chart on Weekday.(Check descending/ascending as per your requirement)

     

     

    Please mark this as a solution if it help you solve your issue.

    Regards,

    Veena Shenolikar

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi veenashenolikar 

      I did that. But it did not work. Its is sorting weekday based on the value.

       

       

      • veenashenolikar's avatar
        veenashenolikar
        Icon for Helper V rankHelper V

        Hi Anonymous ,

         

        You need to change the sorting of the chart from Values to Weekday column. Have you tried this?

         

        Mark this as a solution if it helped solve your issue.

        Veena Shenolikar

         

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak - I do not have a date column. I only have 2 columns weekday & value.