Error: Sort by Column - Power Pivot

jon999

New Member
Joined
Aug 24, 2015
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi

I have 6 different columns listing different chart of accounts (column headers Level 1, Level 2 etc) and 6 columns that list the position of each chart of accounts (Position 1, Position 2 etc) so I can sort them using the Sort by Column in Power Pivot. Some of the columns work using the sort however others are not working and getting the following error message.

"Cannot sort Level 2 by Position 2 because at least one value in Level 2 has multiple distinct values in Position 2. For example, you can sort [City] by [Region] because there is only one region for each city, but you cannot sort [Region] by [City] because there are multiple cities for each region."

Thanks

Jon
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
To use sort by column, there must be a 1:1 relationship between the values in both columns. If you get the error you mention, it means that you don't have a 1:1 relationship between the values in both columns.
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

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