I've got a pivot table with countries down the left and years across the top. The values are tonnes.

I'd like the table to appear with the values sorted, so that largest values start from the top. The sorting always needs to apply to whatever year is in the right-most column. So if for example years happened to go from 2000 - 2019 (left to right), I'd like values to be sorted in the 2019 column.

I'm suspecting the solution is in a 'Calc Field1' but I don't know the sql to sort the table

You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

## Question

## Farnsbarnes 6

Hi

I've got a pivot table with countries down the left and years across the top. The values are tonnes.

I'd like the table to appear with the values sorted, so that largest values start from the top. The sorting always needs to apply to whatever year is in the right-most column. So if for example years happened to go from 2000 - 2019 (left to right), I'd like values to be sorted in the 2019 column.

I'm suspecting the solution is in a 'Calc Field1' but I don't know the sql to sort the table

Many thanks

## Link to post

## Share on other sites

## 3 answers to this question

## Recommended Posts

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Note:Your post will require moderator approval before it will be visible.