To select the top or bottom N groups
- Create a report and summarize the data as desired. When you summarize the data, the program breaks the data into groups and summarizes each group.
-
With top N groups, you are instructing the program to display those groups that have the highest summary values (Top N).
-
With bottom N groups, you are instructing the program to display those groups that have the lowest summary values (Bottom N).
-
-
Click the Group Sort Expert button on Expert Tools toolbar.
The Group Sort Expert appears with a tab for your group.
- Choose Top N or Bottom N from the first drop-down list.
- Choose the summary that you want to base your selection on from the "based on" drop-down list on the right.
The "based on" drop-down list on the right is for those cases in which you have multiple summaries within a single group section. For example, in an orders report, you might sum and average the orders for each customer and then display both the sum and the average in the same group section. In such a case, you would select the sum or the average from this drop-down list.
- In the Where N is text box, enter the number of groups you want to display. For example:
-
To report on the three fastest selling product lines, set N to be equal to three.
-
To report on the five least productive sales regions, set N to be equal to five.
-
- Click the Include Others, with the name check box and enter a name if you want to group all the other records into a single group.
- Select Include ties to accommodate groups whose summarized values are equal.
For example, suppose you had the following groups:
-
Order 1 = 100
-
Order 2 = 90
-
Order 3 = 80
-
Order 4 = 80
If you set your top N to be three, but you do not select "Include ties," your report will show Order 1, Order 2, and Order 3.
If, in the same scenario, you do select "Include ties," your report will show Order 1, Order 2, Order 3, and Order 4 even though N is set as three. In this way, the program accommodates the equal values of orders 3 and 4.
-
- Click OK when finished.
When the program runs the report, it will include only those groups that you specified.