Create a calculation that uses a level of detail (LOD) function in the denominator to find the total. For example, to find the percent of total sales per segment; the following table calculation for finding the percent of total sales:
SUM([Sales]) / TOTAL(SUM([Sales]))
Could become:
SUM([Sales]) / SUM( { EXCLUDE [Segment] : SUM([Sales]) } )
These directions start from the "Example 1: table calc" worksheet in the attached workbook.
Due to the order of operations, FIXED expressions are only filtered by context filters. EXCLUDE expressions are filtered by all dimension filters.
Instead of table calculations, or using the TOTAL() function, use Level of Detail (LOD) expressions such as:
{ FIXED [<dimension(s) you are looking for the percentage of total information for>] : SUM([Measure]) } /
{ FIXED [<"Total" dimension(s)>] : SUM([Measure]) }
For example, using Superstore sample data, to show what percent of total each Segment is per Region:
Explanations of the above calculation:
When using a percent of total calculation in another calculation, there are two main considerations:
In most cases, either EXCLUDE or FIXED can be used. Some factors to consider:
001456489
2513 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.