Forum Discussion

JonGreen's avatar
JonGreen
Copper Contributor
Feb 08, 2021

Pivot Chart not sorting by date

Hi,

 

I cannot get the horizontal axis in the chart picture to display in date order.

 

 

I have tried around 10-15 differnt fixes suggested on similar threads, if someone could let me know where I'm going wrong that would be amazing! I've attached the file if that helps.

 

Cheers

Jon

6 Replies

  • JonGreen 

    The problem is that the field (column) you used in the Rows area uses the TEXT function, so it is a text value that is sorted in alphabetic order.

    Use the Date field instead, and group it by Years and Months.

    See the attached version

    (I also cleared the check box to reverse the order of the x-axis)

    • JonGreen's avatar
      JonGreen
      Copper Contributor

      HansVogelaar brilliant! Thank you so much for helping.

       

      In the version you sent back though, all data from Sept-Nov is missing? Any ideas?

      • JonGreen 

        The Source Data of the pivot table was set to 'Edited data'!$A$1:$R$5797. It should have been 'Edited data'!$A$1:$R$6421. If you change this, the missing months will appear.

Resources