Performance
Pitfalls in Tableau
Learn to identify and avoid the most common causes of slow dashboards: excessive quick filters, heavy table calculations, and unoptimized data sources.
What Is Dashboard Performance?
Dashboard performance refers to how quickly a Tableau workbook loads, renders visualizations, and responds to user interactions. A well-performing dashboard delivers insights in under a few seconds, while a poorly optimized one can take minutes or even time out entirely.
The Rendering Pipeline
Every time a user opens or interacts with a dashboard, Tableau executes this pipeline. Performance pitfalls occur when any stage is overloaded: too many queries, expensive calculations, excessive marks, or bloated rendering.
The Three Big Bottlenecks
The Quick Filter Problem
Heavy Table Calculations
Table calculations execute after the query returns data: they run in the Tableau engine (VizQL), not in the database. This means the database cannot optimize them, and all the work falls on Tableau Server or Desktop.
LOD Expressions vs Table Calcs
| LOD Expression | Table Calculation | |
|---|---|---|
| Where it runs | Database | VizQL (local) |
| Scalability | Handles very large datasets | Struggles with large result sets |
| Caching | Cached at query level | Recomputed on each render |
| Syntax example | \(\texttt{\{FIXED [Region]: SUM([Sales])\}}\) | \(\texttt{RUNNING_SUM(SUM([Sales]))}\) |
| Best for | Fixed-level aggregations | Running totals, rankings, partitions |
The Performance Rule
Filter Types: Smart vs Expensive
How to Optimize Step by Step
Example: Filter Audit
A sales dashboard has 8 quick filters with "Only Relevant Values" enabled. Each filter change triggers 8 cascading queries. Users report 15-second load times.
Example: Table Calc Replacement
A dashboard calculates each customer's share of total sales using a table calculation: \(\texttt{SUM([Sales]) / TOTAL(SUM([Sales]))}\). With 500,000 customers, VizQL chokes.
Runs in VizQL on 500K rows
Load time: 12 seconds
Runs in the database
Load time: 2 seconds
Example: Extract vs Live Connection
Too Many Marks
Every individual point, bar, or line segment in a visualization is a mark. Tableau must render each mark in the browser. When you exceed hundreds of thousands of marks, the browser slows dramatically.
Common Mistakes
Performance Optimization Summary
| Pitfall | Problem | Solution |
|---|---|---|
| Too many quick filters | Cascading queries | Parameters / action filters |
| Heavy table calcs | Local CPU bottleneck | LOD expressions |
| Live connections | Network latency | Hyper extracts |
| Too many marks | Browser rendering | Aggregate / bin data |
| Too many sheets | Parallel query overload | Consolidate to 5-8 sheets |
Question 1 of 5
A dashboard has 12 quick filters set to "Only Relevant Values." What is the primary performance impact?
Question 2 of 5
Which approach pushes computation to the database rather than running locally in VizQL?
Question 3 of 5
Your scatter plot has 2 million individual marks and the dashboard is unresponsive. What is the best first step?
Question 4 of 5
What advantage does a Hyper extract have over a live connection for dashboard performance?
Question 5 of 5
A colleague uses data blending to combine two SQL tables. Why might this hurt performance compared to a relationship or join?