Which two solutions should resolve this warning and improve performance? Choose two.
Show answerHide answer
Correct answer: A, C Build the calculations into the data source upstream of Tableau.Choose the “Compute Calculations Now” option when publishing the data source.
Explanation
Correct Answers: A and C
The correct answers are A and C, based on Tableau's official documentation and its guidance for optimizing nested calculations in extract-based workbooks.
A. Build the calculations into the data source upstream of Tableau.
C. Choose the “Compute Calculations Now” option when publishing the data source.
The key issue is that Tableau is processing nested calculations, which can increase computation time and slow down workbook loading. Tableau recommends moving calculations to the underlying data source where possible or materializing eligible calculations in the extract.
Detailed explanation of each option
A. Build the calculations into the data source upstream of Tableau
Why this is correct:
When calculations are defined inside Tableau, Tableau may need to evaluate multiple dependent calculations while processing a view. Nested calculations can introduce additional processing, particularly when they involve complex conditional logic or other expensive functions.
Building these calculations upstream means performing the logic in the underlying database or data preparation layer before Tableau requests the results.
For example, instead of defining:
Quiz Score = [Points Earned] * 10Curved Grade = [Quiz Score] * 1.05Letter Grade = IF [Curved Grade] >= 90 THEN "A" ... END
as interdependent Tableau calculations, you could create the required fields in the database or Tableau Prep.
This can reduce the amount of calculation work Tableau must perform when users open the workbook.
Why it improves performance:
Moves eligible processing out of Tableau's workbook calculation layer.
Reduces the need to evaluate nested calculation logic at query time.
Can simplify the workbook's calculations and improve responsiveness.
Tableau explicitly recommends moving calculations to the data source or using Tableau Prep when calculations are complex or nested.
B. Add “Apply” to the filters in the workbook
Why this is incorrect:
The Apply button allows users to select filter values and then apply their changes together, rather than triggering an update every time they change a selection.
This can reduce the number of intermediate updates when users interact with filters. However, it does not directly resolve the specific warning about nested calculations.
The problem described in the question is calculation processing, not excessive filter updates.
Exam tip: Apply buttons are relevant when filter interactions are causing unnecessary queries or repeated updates. They are not the primary solution for nested-calculation warnings.
C. Choose the “Compute Calculations Now” option when publishing the data source
Why this is correct:
Tableau extracts can store the results of eligible calculations in advance. This process is called materializing calculations.
When you use Compute Calculations Now, Tableau precomputes supported calculations and stores their results in the extract. Tableau can then use those stored values instead of recalculating them every time a query requires them.
This is especially useful in the scenario because the workbook already uses an extract and has performance issues associated with calculations.
How it helps:
Eligible calculations are computed in advance.
Their results are stored in the extract.
Tableau can reuse the precomputed results when processing queries.
The workbook may load or respond faster, depending on the calculations involved.
Important clarification: Tableau does not materialize every calculation. For example, table calculations, level-of-detail calculations, and calculations using unstable functions such as NOW() and TODAY() cannot be materialized using this option.
For an existing extract, Tableau Desktop provides the option under the data source's Extract → Compute Calculations Now menu. A published extract may need to be downloaded, processed, and republished, or materialized using the appropriate administrative tools.
D. Hide the nested calculations when publishing the workbook
Why this is incorrect:
Hiding a calculated field does not eliminate its calculation logic or necessarily prevent Tableau from using it.
For example, suppose a visible field called Letter Grade references Curved Grade, which in turn references Quiz Score. Even if Curved Grade is hidden from the field list, Tableau still needs the underlying calculation when evaluating Letter Grade.
Therefore, hiding the nested calculations does not directly address the additional processing that triggered the warning.
Exam tip: Hiding unused fields can reduce extract size when those fields are genuinely unused. However, hiding a calculation that is still referenced by another calculation does not remove that dependency.
Key notes for the exam:
Nested calculations: A calculation references another calculated field.
Best upstream solution: Move calculation logic to the underlying database or data preparation layer.
Best extract optimization: Use Compute Calculations Now to materialize eligible calculations.
Apply filters: Controls when filter changes are applied; it does not fix nested calculation dependencies.
Official Salesforce / Tableau references
Test Your Data and Use Extracts
Hide calculations: Hiding a field is not the same as removing its calculation logic.
Remember: Materialization can improve performance, but the actual benefit depends on the calculation complexity and extract.