Mercury allows you to limit your pivot report results to only the topmost values in a particular category (or categories). "Topmost" is based on the current sort-order of the field(s) you’re restricting; if you change the sort-order the Top N result will automatically change too.
Items that don’t qualify for your Top N can be hidden completely or combined and shown as a separate "Other" category. Totals and grand totals may change depending on whether you include "Other".
To open Top N settings, you can either:
- or -
A window similar to the one below will be displayed. All the current row area and column area fields are shown, with corresponding settings (if any).
Column |
Description |
Show Top |
The number values (or the percentage level) that you want to see. "All" means "no Top N; show everything". |
Top Value Type |
Choose between Value and Percent. Value means you’ll see a specific number of items. Percent means that you’ll see enough items to make up a desired percentage. Example: say that there are twenty items in your row-area, and you specified a "Show Top" of 10. Ignoring the effect of "Show Other Values", a Value Type of:
|
For Field |
The field to which grid row’s the Top N settings will be applied. The field becomes highlighted when there is (or will be) a Top N. |
Show Other Values |
If checked, includes on your report all the results that don't meet the Top N criteria. These remaining results are combined into a single "Others" item. |
Reset |
Clears the field’s Top N setting. A "Reset" link appears only if the field has a Top N setting. |
The icons above the list can be used to change the way the fields are grouped in the grid.
All fields are shown together in the list, regardless of area. |
|
Column and row area fields are shown in separate groups. |
Pivot-reports can (and often do) have multiple row-area and/or column-area fields. Top N is applied based on the field’s position in its area, and is affected by outer fields.
Take a report like the one below - it has three row-area fields.
Top N is applied anew based on the field’s next-most outer grouping - its "parent", if you will.
Top N is dynamic. If you have Top N in effect for one or more of your row-area fields, and you change the order, Top N is re-applied automatically based on your new order. If you change the sort-order of a field that has a Top N, your results may change.