Exam Analytics-Con-301 Topic 4 Question 17 Discussion

Actual exam question for Salesforce's Analytics-Con-301 exam
Question #: 17
Topic #: 4
A client calculates the percent of total sales for a particular region compared to all regions.

The Sales percentage is inadvertently recalculated each time the filter is applied to the Region.

Which calculation should fix the automatic recalculation on the % of total field?

Suggested Answer: C Vote an answer

The problem:
The client wants:
Percent of total sales for each region compared to ALL regions,
even when Region is filtered.
However, the calculation currently behaves like a table calculation:
SUM([Sales]) / TOTAL(SUM([Sales]))
This recalculates the total after Region filters are applied, so removing a region changes the denominator.
Tableau Documentation - How to prevent recalculation:
To keep percent-of-total unchanged when filtering, Tableau's recommended method is to use FIXED LOD expressions to lock the granularity.
Two values must be fixed:
* Numerator: Sales for that specific region{ FIXED [Region] : SUM([Sales]) }
* Denominator: Total sales across all regions, independent of filters{ FIXED : SUM([Sales]) }(FIXED with no dimension = entire data set) Then compute the percentage:
{ FIXED [Region] : SUM([Sales]) } / { FIXED : SUM([Sales]) }
This ensures:
* The region sales remain accurate.
* The overall total remains constant, even if filters remove regions.
* Region filtering no longer recalculates percent-of-total.
Why the other options are incorrect:
A). {FIXED [Region]: SUM([Sales])} / SUM([Sales])
The denominator is still affected by filters # recalculates % of total.
B). {FIXED [Region]: SUM([Sales])} / { [Sales] }
{[Sales]} is not valid syntax and does not fix granularity.
D). {FIXED [Region]: SUM([Sales])}
This gives only the numerator - no percent-of-total calculation.
The only correct LOD solution is option C.
* Tableau LOD Expression Guide: FIXED for filter-independent calculations.
* Tableau Percent-of-Total Best Practices: use FIXED LOD to avoid recalculation when filters change.
* Order of Operations: FIXED LODs occur before dimension filters, keeping totals stable.

by Maurice at Jun 29, 2026, 10:02 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10