01 / 20

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.

Tableau

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

Query Data Source Compute Table Calcs Layout Marks & Filters Render Browser / VizQL Each stage can become a bottleneck

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

Quick Filters
Each quick filter on a dashboard triggers a separate query. Stacking too many creates a cascade of database calls.
Table Calculations
Table calcs run after the query returns, inside VizQL. Complex nested calcs on large result sets consume CPU and memory.
Data Volume
Connecting to massive un-aggregated tables without extracts or filters pulls far more rows than necessary.

The Quick Filter Problem

Dashboard Filter: Region Filter: Product Filter: Date Filter: ... QUERY 1 QUERY 2 QUERY 3 QUERY N Database

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.

Database Side SUM, AVG, COUNT WHERE, GROUP BY ✓ Optimized by DB ✓ Handles billions of rows Result set VizQL / Table Calcs RUNNING_SUM WINDOW_AVG, INDEX ✕ No DB optimization ✕ Limited by local memory

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

Raw Data (millions of rows) Aggregated + Filtered Optimized Calcs Fast Dashboard Slow Fast

Filter Types: Smart vs Expensive

Context Filters
Creates a temporary table. Other filters run only on this subset. Ideal when one filter drastically reduces data.
Data Source Filters
Applied before any query is sent. Eliminates rows at the source level. Best for permanent exclusions.
Quick Filters (Relevant)
Each one sends a query to populate its dropdown with "Only Relevant Values." Stacking many multiplies queries.

How to Optimize Step by Step

1
Run the Performance Recorder. In Tableau Desktop, go to Help → Settings → Start Performance Recording to identify slow sheets.
2
Use extracts over live connections. Extracts pre-aggregate and compress data locally, reducing query time dramatically.
3
Replace table calcs with LOD expressions wherever the logic supports it. Push computation to the database.
4
Limit quick filters to 2-3. Use parameter-driven filters or action filters instead of "Show Quick Filter" with relevant values.
5
Reduce marks. Avoid scatter plots with millions of points. Aggregate, sample, or bin data before visualizing.

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.

1
Audit each filter. "Region" and "Year" are used 90% of the time: keep as quick filters. The rest are rarely used.
2
Convert 6 filters to parameters or action filters. Parameters don't query the database for dropdown values.
3
Set remaining quick filters to "All Values in Database" instead of "Only Relevant Values" to avoid extra queries.

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.

Before (Table Calc)
\(\texttt{SUM([Sales]) / TOTAL(SUM([Sales]))}\)
Runs in VizQL on 500K rows
Load time: 12 seconds
After (LOD)
\(\texttt{SUM([Sales]) / \{FIXED : SUM([Sales])\}}\)
Runs in the database
Load time: 2 seconds

Example: Extract vs Live Connection

Live Connection 50M rows in cloud DB Network latency per query No local caching Load: 20 seconds Hyper Extract Aggregated to 200K rows Local columnar storage Compressed & indexed Load: 1.5 seconds vs

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.

100 Marks Renders instantly 1,000,000 Marks Browser freezes

Common Mistakes

✕ Too Many Sheets
Packing 15+ sheets into one dashboard. Each sheet fires its own queries and renders independently.
✕ String Calculations
Using CONTAINS() or regex on text fields across millions of rows. These can't use database indexes.
✕ Unnecessary Detail
Including row-level detail (transaction IDs) when only aggregated metrics are needed for the visualization.

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?