Tutorial

Tableau Connecting Data Sources: Live vs Extract for Analysts

Connect CSV, Excel and databases in Tableau via the Connections pane and choose Live vs Hyper Extract with data source filters.

Anuj SainiAug 23, 20268 min read

Analyst work starts before the first chart — at the connection. A wildlife-strikes CSV that opens with wrong date types or a 50M-row table queried live will break every visual that follows. This tutorial follows the exact workflow from script 01: establishing the connection, managing the Connections pane, verifying structure, and choosing performance options — so your foundation is correct before you design.

For the broader analyst journey, anchor this in the Data Analyst Roadmap. For modelling after connection, see Tableau Relationships vs Joins and Tableau Data Types and Roles.


What happens when you connect a file in Tableau?

Tableau opens the Data Source page as soon as you choose a connector — Text file for CSV or Microsoft Excel for workbooks Tableau Help: Connect to Data. You select the file from the start page (0:24 in the script demo), and Tableau loads the file list and preview grid. The orange Sheet 1 tab is your gate to the viz layer; nothing aggregates until you cross it.

Drag the wildlife-strikes table onto the canvas. Tableau infers headers from the first row and shows the row count immediately. If headers are missing, use the data interpreter or edit the header row in the preview.

How do you manage connections and tables?

The Connections pane on the left lists every file or database you have added Tableau Help: Connect to Data. Two controls matter for analysts:

  • Edit Connection — fix a path change without rebuilding the workbook.
  • Rename — give the source a stakeholder-friendly name before publishing.

Drag-and-drop adds tables to the canvas. For Excel, each sheet and named range appears separately — add only the tabs you need. Adding an unused 200k-row sheet inflates extracts and slows Hyper.

Feature / Criteria

How do you verify data structure and types?

The preview grid's bottom pane shows column headers, assigned data types, and origin file — the metadata row the script highlights at 1:14 Tableau Help: Connect to Data. Check three things before Sheet 1:

  1. Date fields parsed as Date, not String — otherwise timelines break.
  2. Geographic fields assigned to Geography — otherwise maps fail.
  3. Null vs empty — Tableau shows null as blank; treat it consistently later.

This step is also where data blending context appears: when you combine multiple sources, Tableau's type inference determines which field can be the linking field.

Gotcha: Live vs Extract Staleness

You publish an Extract on Friday for a Monday review, but the source CSV is updated over the weekend. Your dashboard still shows Friday's wildlife-strike count until you refresh the extract. Teams at ₹5–10 LPA entry roles lose credibility when a stakeholder spots newer rows in the source. Choose Live if freshness > speed.

Should you use Live or Extract?

Live = real-time; Extract = snapshot Tableau Help: Extract Your Data. That single choice decides accuracy and speed:

tableau
// Conceptual: not a calculation, but the decision
// Live:  Dashboard -> Live SQL -> Source DB (fresh, slower)
// Extract: Dashboard -> Hyper (.hyper) -> Snapshot (fast, static)

Use Live when:

  • Data changes intraday and decisions depend on it (support queues, inventory).
  • Your database is a cloud warehouse (Snowflake, BigQuery) that handles concurrency.

Use Extract when:

  • Source is a flat CSV/Excel with no refresh need.
  • You need offline work or sub-second filtering on >1M rows via Hyper.
  • You must reduce load on a production OLTP database.

Hyper extracts are columnar and memory-mapped, so a 10M-row CSV filters in milliseconds where Live would scan the source each interaction.

Feature / Criteria

How do data source filters optimise performance?

Data source filters permanently exclude rows before they enter the workbook Tableau Help: Filter Data from Data Source. Find them at the top-right of the Data Source page (1:50 demo). Example: exclude Status = Test or Year < 2020.

Why this matters more than a sheet filter:

  • Sheet filters still query excluded rows, then hide them.
  • Data source filters shrink the extract and every query downstream.

Rule: if a row will never be analysed, filter it at the source. If a stakeholder might toggle it, use a context or dimension filter instead.

Quick reference and next steps

TaskWhereClicks
Connect CSVStart page > ConnectText file > Select > Drag to canvas
Add Excel sheetConnections paneDrag tab to canvas
Check typesPreview grid footerVerify Date/Number/Geography icons
Set Live/ExtractTop rightLive vs Extract toggle before Sheet 1
Add source filterTop right > FiltersAdd > Condition > OK
Go to vizBottom barClick Sheet 1

Next: learn how Tableau interprets those types in Tableau Data Types and Roles, then how it models multiple tables in Tableau Relationships vs Joins. Practice the workflow on a real CSV and publish one chart to your portfolio before moving on.

Put Your Connection Skills into Practice

Topfolio Practice has 190+ SQL and data tasks. Start with data-cleaning questions, then build a Tableau story on a real CSV in your Data Analyst track.

Continue on the Data Analyst Track

Educational note: Tableau vs Excel vs SQL choices here are for learning sequence, not a buying recommendation. The comparison capstone after 8 Tableau spokes will provide balanced guidance.

Frequently Asked Questions

How do you connect a CSV or Excel file in Tableau?

On the Tableau start page, choose Text file or Microsoft Excel under Connect, select your file, and drag tables from the Connections pane into the canvas. The Data Source page preview shows field metadata before you click Sheet 1.

What is the difference between Live and Extract in Tableau?

Live queries your source database in real time, so every interaction reflects fresh data. Extract creates a compressed Hyper snapshot that loads faster and works offline but is static until refreshed. Extracts improve performance for large models.

When should you use a data source filter?

Use a data source filter to permanently exclude rows before they enter the workbook, such as filtering out test accounts. It reduces extract size and improves load time, unlike sheet filters that still query the excluded data.

Can you rename or edit a Tableau data connection?

Yes. Click the dropdown arrow next to the connection in the Connections pane and choose Edit Connection or Rename. You can add sheets from an Excel workbook or manage multiple files without reconnecting.

How do you move from the Data Source page to building charts?

Click the orange Sheet 1 tab at the bottom. Tableau carries over field types and filters, and the Data pane shows dimensions and measures ready for Rows, Columns and Marks.

Anuj Saini

Written by

Anuj SainiFounder & Lead Instructor

Founder at Topfolio with 6+ years in data & analytics across JPMC, Ultrahuman, and high-growth startups. Sat on hiring panels, reviewed 500+ resumes, and writes practical SQL & data guides.