EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB10991: How can users display the Grand Total of a metric on a MicroStrategy Report Services document when the document contains a grid and has a 'grouping' attribute?


Stefan Zepeda

Salesforce Solutions Architect • Strategy


How can users display the Grand Total of a metric on a MicroStrategy Report Services document when the document contains a grid and has a 'grouping' attribute?

By default, when an attribute is added to the 'Grouping' section of a Report Services document containing a grid in the document body, the display of a Grand Total will not be shown for the metric over the entire document. Rather, the totals are displayed for each grouped-by attribute and are shown at the bottom of each separat grid.
 
The following screen shots illustrate how a document might appear if it is grouped-by attribute 'Region.' Each grand total of Profit is shown for each Region. The document does not display the overall Grand Total for all Profit values in the document:

ka02R000000kXpeQAE_0EM440000002FpC.jpeg

 
Currently, there are two ways to display an overall grand total value within a Report Services document while still maintaining a group-by feel.
 
Option 1:
The first method requires that the 'Grouping' attribute be removed from the document. Once this is done, the subtotal display within the dataset can be changed so that it is grouped by the attribute that was formerly in the group by section of the document:

ka02R000000kXpeQAE_0EM440000002Fov.jpeg

 
Once this has been completed and the grand total enabled, the report will appear similar to the following:

ka02R000000kXpeQAE_0EM440000002FpB.jpeg

 
Although this method does not allow for the grid to appear broken up, the subtotals for each grouped-by attribute are displayed on the document along with the grand total for the entire metric.
 
Option 2:
The second option requires that a Static text field called 'Grand Total' be added to the Document Footer section. Then, the Profit metric from the dataset should be dragged into the 'Document Footer' section as dynamic text. Upon executing the document, the Grand Total is seen in at the bottom of the document.


Comment

0 comments

Details

Knowledge Article

Published:

June 13, 2017

Last Updated:

June 13, 2017