Depending on which totals should be hidden the solution will vary. The workbook in the right-hand pane of this article uses the sample data set Superstore to demonstrate all of the following solutions.
All solutions start from the "original" worksheet. Directions to create "original" are in the workbook.
IF MIN([Segment]) != MAX([Segment]) //TRUE for all total rows for segment or higher in the view hierarchy AND MIN([Sub-Category]) = MAX([Sub-Category]) //TRUE for all rows in view except totals for sub-category or higher in the view hierarchy AND MIN([Sub-Category]) IN ('Bookcases','Appliances') //list subtotals to hide THEN NULL ELSEIF MIN([Sub-Category]) != MAX([Sub-Category]) AND MIN([Category]) = MAX([Category]) AND MIN([Category]) = 'Furniture' THEN NULL ELSE SUM([Sales]) END
IF MIN([Segment]) != MAX([Segment])
AND MIN([Sub-Category]) = MAX([Sub-Category])
AND MIN([Sub-Category]) IN ('Bookcases','Appliances')
THEN NULL
ELSEIF MIN([Sub-Category]) != MAX([Sub-Category])
AND MIN([Category]) = MAX([Category])
AND MIN([Category]) = 'Furniture'
THEN NULL
ELSE SUM([Profit])
END
Totals are currently at the field level. To voice your support for the inclusion of toggling totals at the dimension value level in a future product release, add your vote to the following Community Idea: Option to eliminate subtotalling single rows
001466835
1540 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.