For PowerPivot, can anyone tell me how to preserve the text fields sorting order, neither ascending nor ascending order, after refreshed? For instance, "John, David, Peter, Ann", and my prefered sorting order is "John, Peter, Ann, David".
Hello,
it is possible to sort it as you desire. First create your "sort order table" in excel which consiste two columns (names and numbers). Copy and paste it from power pivot window (after this you'll not need to keep the copied excel table anymore so you may delete it). Ok now use =LOOKUPVALUE() function to get index numbers of the names and sort the index columns then your result will be ready.
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.