Bird
Raised Fist0
Tableaubi_tool~8 mins

Extract optimization in Tableau - Dashboard Guide

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Dashboard Mode - Extract optimization
Goal

Understand how to optimize Tableau data extracts to improve dashboard speed and efficiency.

Sample Data
Order IDRegionCategorySalesOrder Date
1001EastFurniture3002024-01-15
1002WestTechnology4502024-02-10
1003EastOffice Supplies1502024-03-05
1004SouthFurniture2002024-01-20
1005WestTechnology5002024-03-15
1006NorthOffice Supplies1002024-02-25
1007SouthFurniture3502024-03-10
Dashboard Components
  • KPI Card: Total Sales
    Formula: SUM([Sales])
    Result: 2050
    Description: Shows total sales from the extract.
  • KPI Card: Number of Orders
    Formula: COUNTD([Order ID])
    Result: 7
    Description: Counts unique orders in the extract.
  • Bar Chart: Sales by Region
    Formula: SUM([Sales]) grouped by [Region]
    Results:
    • East: 450
    • West: 950
    • South: 550
    • North: 100

    Description: Visualizes sales distribution by region.
  • Filter: Date Range
    Type: Date filter on [Order Date]
    Description: Limits data to a selected date range, improving performance.
  • Filter: Category
    Type: Multi-select filter on [Category]
    Description: Allows focusing on specific product categories, improving performance.
Dashboard Layout
+----------------------+----------------------+
|   Total Sales (KPI)  | Number of Orders (KPI)|
+----------------------+----------------------+
|                      Bar Chart: Sales by Region                      |
|                                                                    |
+--------------------------------------------------------------------+
| Filters: Date Range | Category Filter                               |
+--------------------+----------------------------------------------+
Interactivity

The Date Range and Category filters update all components dynamically. Selecting a narrower date range or fewer categories reduces the data processed, speeding up interactions.

For example, choosing only the 'Furniture' category will update the bar chart and KPIs to reflect just those filtered rows.

Self Check

If you apply a filter to show only orders from the 'Technology' category, which components update and what are their new values?

  • Total Sales: 950 (sum of 450 + 500)
  • Number of Orders: 2 (orders 1002 and 1005)
  • Bar Chart: Only 'West' region bar shows 950 sales; other regions show 0 or are hidden.
Key Result
A Tableau dashboard showing total sales, order count, and sales by region with filters to improve performance.

Practice

(1/5)
1. What is the main benefit of optimizing extracts in Tableau?
easy
A. Automatic data cleaning
B. More colorful visualizations
C. Faster dashboard performance and reduced storage use
D. Increased number of data sources

Solution

  1. Step 1: Understand extract optimization purpose

    Extract optimization aims to make Tableau faster and lighter by reducing data size and improving query speed.
  2. Step 2: Identify the main benefit

    Smaller extracts lead to quicker dashboards and less storage use, improving performance.
  3. Final Answer:

    Faster dashboard performance and reduced storage use -> Option C
  4. Quick Check:

    Extract optimization = Faster dashboards and less storage [OK]
Hint: Think speed and size reduction for extracts [OK]
Common Mistakes:
  • Confusing extract optimization with visualization design
  • Assuming it cleans data automatically
  • Believing it increases data sources
2. Which of the following is the correct way to apply a filter when creating a Tableau extract?
easy
A. Create extract first, then add filter in data source
B. Apply filter after publishing the workbook only
C. Filters cannot be applied to extracts
D. Select the filter option before creating the extract

Solution

  1. Step 1: Review extract creation steps

    Filters should be applied during extract creation to reduce data size effectively.
  2. Step 2: Identify correct timing for filter application

    Applying filters before extract creation ensures only needed data is included.
  3. Final Answer:

    Select the filter option before creating the extract -> Option D
  4. Quick Check:

    Filter before extract creation = Correct [OK]
Hint: Apply filters before extract to reduce data [OK]
Common Mistakes:
  • Trying to filter only after publishing
  • Thinking filters can't be used with extracts
  • Adding filters after extract creation
3. Given a Tableau extract with 1 million rows, which action will most reduce extract size?
medium
A. Add a filter to include only last 3 months of data
B. Change the dashboard colors to grayscale
C. Increase the number of worksheets in the workbook
D. Add more calculated fields without aggregation

Solution

  1. Step 1: Analyze impact of filtering data

    Filtering to last 3 months reduces rows drastically, shrinking extract size.
  2. Step 2: Evaluate other options

    Changing colors or adding worksheets does not affect extract size; calculated fields without aggregation may increase size.
  3. Final Answer:

    Add a filter to include only last 3 months of data -> Option A
  4. Quick Check:

    Filtering data reduces extract size best [OK]
Hint: Filter data to reduce extract size, not visuals [OK]
Common Mistakes:
  • Thinking dashboard colors affect extract size
  • Assuming more worksheets reduce extract size
  • Adding calculated fields without aggregation increases size
4. You created an extract but notice it is still very large. Which fix will help optimize it?
medium
A. Remove unused fields and apply filters during extract creation
B. Add more calculated fields to the extract
C. Increase extract refresh frequency
D. Disable incremental refresh

Solution

  1. Step 1: Identify causes of large extract size

    Unused fields and lack of filters keep extract size large.
  2. Step 2: Apply best practices to reduce size

    Removing unused fields and applying filters during extract creation reduces data volume effectively.
  3. Final Answer:

    Remove unused fields and apply filters during extract creation -> Option A
  4. Quick Check:

    Remove unused fields + filter = Smaller extract [OK]
Hint: Drop unused fields and filter early [OK]
Common Mistakes:
  • Adding calculated fields increases size
  • Increasing refresh frequency doesn't reduce size
  • Disabling incremental refresh can increase load
5. You have a large dataset updating daily. To optimize extract refresh time and size, what is the best approach?
hard
A. Add all fields and refresh extract manually weekly
B. Use incremental refresh with filters and aggregate data in extract
C. Disable extract and use live connection only
D. Create a full extract every day without filters

Solution

  1. Step 1: Understand incremental refresh benefits

    Incremental refresh updates only new data, saving time and resources.
  2. Step 2: Combine with filters and aggregation

    Filtering reduces data volume; aggregation summarizes data, both reducing extract size and improving speed.
  3. Step 3: Evaluate other options

    Full daily extracts are slow; live connections may be slower; manual weekly refresh misses daily updates.
  4. Final Answer:

    Use incremental refresh with filters and aggregate data in extract -> Option B
  5. Quick Check:

    Incremental + filter + aggregation = Best optimization [OK]
Hint: Combine incremental refresh with filters and aggregation [OK]
Common Mistakes:
  • Doing full daily extracts wastes time
  • Ignoring aggregation increases extract size
  • Relying only on live connections may slow dashboards