Pivot table filter pane is not sorted. Why?

8,275

When you initially create a PivotTable, the default sort order is A to Z for text, or small to large for numeric:

enter image description here

When you add new data and refresh, the new data is not sorted in the PivotTable, but instead just gets added to the end of the older sorted data, in whatever order it appears in the source Table: enter image description here

...and ditto for the order in the Filter dialog:

enter image description here

enter image description here

...but you can fix this by clicking the Sort Smallest to Largest or A to Z sort options in those previous screenshots, after which new items should be sorted appropriately:

enter image description here

Share:
8,275

Related videos on Youtube

ZygD
Author by

ZygD

Leave everything better than you found it!

Updated on September 18, 2022

Comments

  • ZygD
    ZygD over 1 year

    In my pivot table filter, the column containing numeric values is not sorted, while the corresponding column in my data table is nicely sorted. Why?

    Data:

    Data filter pane

    Original pivot:

    pivot filter 1

    pivot filter 2

    I recreated the same table in another sheet.
    Recreated pivot:

    pivot filter 3

    As can be seen, it is now sorted numerically. What caused the sort order in the filter pane of the original table to get distorted (the order is neither numerical, nor alphabetical)?

  • ZygD
    ZygD about 6 years
    Please take a look at the last picture. It doesn't seem like alpha ordering either. 0.47, 0.03, 0.23, 0.74, 0.45...
  • teylyn
    teylyn about 6 years
    The message here is that the filter pane will not use numeric sort order. The filter pane has previously shown some bugs, but they were fixed. Maybe this is a new bug. Can you share a sample file?
  • ZygD
    ZygD about 6 years
    But also, this does not seem true that the filter pane does not use numeric sort order. I recreated the same pivot table from scratch. It is ordered numerically. Then why is my original table sorted differently stays a mystery.
  • ZygD
    ZygD about 6 years
    You may have found the cause. I did add more data to my data table after I created my pivot tables. However, I cannot fix this by sorting the data. You give screenshots of "Row Labels", while I would like the filtering panes to be sorted, not the data in the worksheet, not pivot table data.
  • ZygD
    ZygD about 6 years
    Thank you, now I know the reason! This leads to the following question: How to make filter panes in pivot table sorted?