Displaying and hiding grand totals and subtotals

A grand total is a total of all calculations on a report, per metric. A subtotal is a total of a specific subset of metric data, totaled at a level you select. (For a definition and examples of levels of aggregation, see the MicroStrategy Basic Reporting Guide.) Common subtotal functions include sum, count, minimum, maximum, average, mean, and median. Grand totals and subtotals are often collectively referred to as totals.

A metric designer or report designer must enable totals as part of a metric's definition. If totals are available for a metric, you can display or hide them for that metric on a given report. You can add a new type of subtotal to the report. For example, if a report currently displays a Median subtotal, but you would prefer to see an Average subtotal, you can add the Average subtotal to the report. You can also permanently remove totals from the report.

To display or hide existing grand totals and subtotals on a report

  1. Click the name of a report to execute it. The report must be in either Grid view or Grid and Graph view.

  2. Click Toggle Totals Toggle Totals icon on the Data toolbar. Subtotals are displayed at all levels of the report.

    Alternatively, from the Data menu, select Show Totals. If this option does not appear, this means totals have not been enabled for at least one metric on the report; see Prerequisites, above.

To display new totals on a report

  1. Click the name of a report to execute it. The report must be in either Grid view or Grid and Graph view.

  2. From the Data menu, select Edit Totals Edit Totals icon. The Subtotals dialog box is displayed.

  3. Click the Definitions tab. You can add one or more subtotals to be calculated at all levels, or you can add grand totals only.

    Note
    : The list of subtotal functions is determined when the metric is created. If no functions are listed, subtotals have been disabled. For more information, contact the report's creator.

  4. Click the Advanced tab and then, from the drop-down list at the top of the dialog box, specify the subtotal for which to specify the way this subtotal should be calculated in the report: by position or across level.

    Note
    : For a definition of a level and examples, see the MicroStrategy Basic Reporting Guide.

    The levels you can select from are:

  5. Once you have defined which subtotals should be calculated in the report, select the Display tab to define where these subtotals will be displayed in the grid.

  6. For each axis in the grid, any subtotals calculated can be displayed in two ways: top of each level or bottom of each level.

  7. Click OK to complete the subtotal definition. The subtotals are displayed on the report.

Related topics