You have a large dataset and need to improve dashboard performance while exploring trends. Which TWO actions should you perform to reduce the initial query load on the data source?
Trap 1: Convert all dimensions to attributes.
Converting dimensions to attributes forces Tableau to perform local aggregation, which often increases the workload on the visualization layer. This does not prevent the database from sending the original data rows, meaning the query load remains identical while adding unnecessary computational complexity to the rendering process in the browser.
Trap 2: Use a custom SQL query for every visualization.
Custom SQL queries often prevent Tableau from performing intelligent query optimization, such as join culling or filter pushdown. Instead of improving performance, this forces the database to execute rigid, often unoptimized SQL code, which can result in slower dashboard responsiveness compared to using Tableau's native drag-and-drop relationship model.
Trap 3: Increase the number of dashboard worksheets.
Increasing the number of worksheets actually degrades dashboard performance. Each worksheet initiates a separate query to the data source. Adding more worksheets forces the browser to manage more concurrent requests and more visual elements, which significantly increases memory consumption and render times for the end user during analysis.
- A
Apply a Data Source filter to limit the date range.
Data Source filters act at the highest level of the pipeline, excluding rows before they are ever queried from the underlying database. This drastically reduces the amount of data pulled into Tableau's memory, which is the most effective way to improve performance for large datasets during the analysis phase.
- B
Convert all dimensions to attributes.
Why it fails: Converting dimensions to attributes forces Tableau to perform local aggregation, which often increases the workload on the visualization layer. This does not prevent the database from sending the original data rows, meaning the query load remains identical while adding unnecessary computational complexity to the rendering process in the browser.
- C
Add filters to the Context.
Context filters create a temporary table for the data that meets the filter criteria. This subset of data is then used for subsequent operations, such as Top-N filters or conditional sets. By limiting the scope of these expensive operations, you significantly reduce the amount of data the engine must calculate.
- D
Use a custom SQL query for every visualization.
Why it fails: Custom SQL queries often prevent Tableau from performing intelligent query optimization, such as join culling or filter pushdown. Instead of improving performance, this forces the database to execute rigid, often unoptimized SQL code, which can result in slower dashboard responsiveness compared to using Tableau's native drag-and-drop relationship model.
- E
Increase the number of dashboard worksheets.
Why it fails: Increasing the number of worksheets actually degrades dashboard performance. Each worksheet initiates a separate query to the data source. Adding more worksheets forces the browser to manage more concurrent requests and more visual elements, which significantly increases memory consumption and render times for the end user during analysis.