Locked lesson.
About this lesson
You've got a bare bones functional model, but what is with the order of the months? Who sorts their dates in the following order: Apr, Aug, Dec, Feb? You do if you haven't told Power Pivot how to sort things properly!
Exercise files
Download this lesson’s related exercise files.
Sorting Data Model Fields.xlsx829.7 KB Sorting Data Model Fields - Completed.xlsx
874 KB
Quick reference
Sorting Data Model Fields
An overview of methods for sorting columns in Power Pivot.
When to use
When you want to sort a column based on another column instead of by the default method.
Instructions
By default, Power Pivot sorts in ascending alphabetical or numeric order
Groundwork
- You must have another column by which to sort your column of values
- Your “sort by” column must have values that match the “values to sort” column in every instance (a one to one relationship)
Configure a Custom Sort order
- Open Power Pivot and go to the table containing the data to sort
- Select the column you wish to sort differently
- Go to Home --> Sort by Column
- Select the column on which you are basing the sort
- Close Power Pivot and the Pivot Table should display the new sort order
Hints & tips
- You must have a One to One relationship between the two columns you are sorting
Lesson notes are only available for subscribers.