Problem with Pivot sorting

kerekesm

New Member
Joined
Dec 14, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello there!

I created a Pivot with values, columns and more data, but I have problems with the rows, so I will just focus to the rows through this basic example.
I would like to use this Pivot under different circumstances. Sometimes I would like to sort by the 'COMPONENT_PART' another time by the 'COMP_SUPPLY_CAT'.
Unfortunately I'm only able to sort by the first column. Which means I can sort by 'COMPONENT_PART' but after that I can not sort by 'COMP_SUPPLY_CAT', I clik on sort and it does nothing. Of course I can move 'COMP_SUPPLY_CAT' to the beginning, but the situation remains the same, now I cannot sort by 'COMPONEN_PART'.
One interesting addition that under the 'More sorting option' panel I can only see the actual first column.

Could anyone help me with this issue? Or maybe it is not possible to sort by multiple rows?

Thanks in advance,
Mark
 

Attachments

  • Issue.jpg
    Issue.jpg
    44.1 KB · Views: 10

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Pivot tables are designed to work with grouping. What this means for sorting is that it sorts within groups from left to right.
So column 2 will sort but within each group of column 1, and column 3 will sort within the column 2 grouping (which in turn is sorted within column 1 grouping)
In your picture the your Columns A,B,C combinations are unique so a subsort will not seem to do anything.

Have you considered using Power Query to provide a summary similar to what table would give you but in a table format so you can still sort it any way you want to ?
It will reset to the original Query sort when you refresh the Query but in the meantime you can sort the way you want.
 
Upvote 0
Hello Alex,

thanks for the answer, I'm not familiar with the Power Query, but I will give it a try.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top