How to Load Data into Tableau

Cody Schneider8 min read

Bringing your data into Tableau is the first and most critical step towards creating beautiful, insightful visualizations. This article will guide you through connecting to different types of data sources, from simple spreadsheets to more complex databases, ensuring you have a solid foundation for your analysis.

Understanding Tableau's Data Connectors

Tableau is incredibly versatile because of its ability to connect to a huge variety of data sources. When you first open Tableau Desktop, the start page presents you with a "Connect" pane on the left side. This is your gateway to loading data.

These connection options are generally grouped into three categories:

  • To a File: This is the most common starting point for many analysts. It includes familiar formats like Microsoft Excel (.xls, .xlsx), Text files (.csv, .txt), and even PDF files. This is perfect for when you have a static dataset exported from another system or one you've prepared manually.
  • To a Server: This category is for connecting to live databases and cloud services. You'll find options for everything from Microsoft SQL Server, PostgreSQL, and Oracle to cloud data warehouses like Amazon Redshift, Google BigQuery, and Snowflake. This is how you access large, centrally-managed business data.
  • Saved Data Sources: Once you set up and modify a connection, you can save it as a Tableau Data Source (.tds) file. This allows you and your team to quickly reconnect to the same curated data source without having to set it up from scratch every time.

The vast library of native connectors means you can almost always connect directly to your data's source, minimizing the need for manual data exports and prep work.

Connecting to Common File Types: A Step-by-Step Guide

Let's walk through how to connect to some of the most frequently used file-based data sources. The process is very similar for each, making it easy to learn.

How to Load an Excel File

Excel files are a staple in business analytics, and Tableau makes connecting to them a breeze.

  1. Open Tableau and Select Your Connector: On the start page, under the "Connect" heading, click on "Microsoft Excel."
  2. Locate and Open Your File: A file explorer window will open. Navigate to where your Excel file is saved, select it, and click "Open."
  3. Explore the Data Source Page: After connecting, Tableau will take you to the Data Source page. Here, you'll see all the worksheets (and named ranges) from your Excel workbook in the left panel.
  4. Drag Your Data to the Canvas: To start working with a sheet, click and drag it from the left panel onto the area that says, "Drag tables here."

Once you drop the sheet onto the canvas, a preview of your data will load in a grid at the bottom. This is where you can begin preparing your data for analysis - for example, by hiding columns, changing data types, or joining it with another sheet.

Something you might notice is Tableau's Data Interpreter. If your Excel sheet isn't perfectly formatted (e.g., it has extra header rows, titles, or merged cells), check the "Use Data Interpreter" box. Tableau will intelligently scan the sheet and attempt to clean it up for you, often saving a lot of manual prep time.

How to Load a CSV or Text File

Comma-Separated Values (CSV) files are another go-to format for raw data. Loading one into Tableau is just as straightforward as loading an Excel file.

  1. Choose the "Text File" Connector: From the "Connect" pane, click on "Text File."
  2. Select Your File: Find your .csv or .txt file and open it.
  3. Inspect the Data and Options: You will be taken to the Data Source page. Drag your file from the left pane to the canvas, just as you did with the Excel sheet.

For text files, you may see some additional options in the left pane, like "Text file properties." This lets you specify things like the field separator (it's a comma for a CSV, but might be a tab or semicolon for other text files) and the text qualifier if your data is structured uniquely.

How to Load a PDF File

This is a surprisingly powerful and often overlooked feature. If you have data trapped in a table within a PDF document, you don't necessarily have to copy and paste it into Excel first. Tableau can often extract it directly.

  1. Select the PDF Connector: Under "Connect," click on "More..." to see a longer list, then find and select "PDF File."
  2. Open Your PDF: Navigate to and open the PDF document containing your table.
  3. Choose the Table: Tableau will scan the document for tables. You’ll be shown a list of tables it found, often organized by pages. You can select the specific table you want to import.

The success of this method depends heavily on how the table is formatted in the PDF. However, for clean, structured tables, it works remarkably well and is a tremendous time-saver.

Connecting to a Server or Database

Connecting to a server is how you tap into more robust, real-time business data. While slightly more involved than connecting to a file, the process follows a similar logic.

For this to work, you will generally need four key pieces of information from your IT or data analytics team:

  • The server name or address
  • The type of database (e.g., MySQL, PostgreSQL, Snowflake)
  • Your username
  • Your password

Generic Steps for Database Connection

  1. Select Your Database Type: In the "Connect" pane, under the "To a Server" section, click the type of database you're connecting to. If you don't see it, click "More..." to view the full list.
  2. Enter Your Credentials: A dialog box will appear asking for your server, username, and password. Fill these in carefully and click "Sign In."
  3. Possible Driver Installation: If you don't have the necessary driver for that database installed on your computer, Tableau will provide a link to download and install it. This is a one-time setup step for each type of database.
  4. Select Your Database & Tables: Once connected, you’ll be on the Data Source page again. From the "Database" dropdown, select the specific database you need to access. Then, you'll see a list of tables. You can drag one or more tables to the canvas to start your analysis.

Joining Data Within Tableau

One of the most powerful features of the Data Source page is the ability to join tables. For example, if you connect to your sales database, you likely have one table for Orders and another for Customers.

To join them, you would drag both tables onto the canvas. Tableau will often automatically create a join (represented by Venn-diagram-like circles) between them if it detects a common field name, like CustomerID. You can click on the join icon to modify the join type (inner, left, right, full outer) and the fields used to connect the tables.

Quick Tips for a Smooth Data Connection

Choose: Live vs. Extract

In the top-right corner of the Data Source page, you'll see an option for "Connection: Live" or "Extract."

  • Live: Queries are sent directly to the source database. This is great for data that changes constantly and needs to be up-to-the-second. However, it can be slow if the database is complex or under heavy load.
  • Extract: An extract takes a static snapshot of your data and pulls it into Tableau’s high-performance in-memory data engine. This makes analysis much faster and is perfect for most use cases. You can schedule these extracts to refresh automatically (e.g., every hour or every morning) using Tableau Server or Cloud.

Double-Check Data Types

When you connect to data, Tableau automatically guesses the data type for each column - Number, String, Date, etc., indicated by an icon above the column name. It's usually very good at this, but it's always worth a quick look. A common example is a year code or postal code being misidentified as a number when it should be treated as a text string. You can simply click the icon to change the data type.

Pivot Data When Needed

If your data is "wide" (e.g., columns for Jan, Feb, Mar...) when you need it to be "tall" (a single column for "Month" and another for "Sales"), you can pivot it directly in the Data Source grid. Just select the columns you want to un-pivot, click the small down arrow, and choose "Pivot."

Final Thoughts

Loading your data is the foundational skill for all work done in Tableau. By mastering connections to simple files and complex databases, you unlock the ability to see and understand virtually any data your organization produces. Taking a moment on the Data Source page to prepare your data with joins, pivots, or the Data Interpreter will make building reports faster and more intuitive.

While powerful tools like Tableau offer deep analytical capabilities, the initial process of connecting and preparing data can sometimes feel cumbersome. At our company, we’ve focused on simplifying this very first step. With Graphed , we use one-click integrations for sources like Google Analytics, HubSpot, and Shopify, so you can skip the manual setup and driver installations entirely. The difference is that you can then create entire dashboards just by describing what you want to see in plain English, turning hours of tedious report building into a 30-second conversation.

Related Articles

How to Connect Facebook to Google Data Studio: The Complete Guide for 2026

Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.

Appsflyer vs Mixpanel​: Complete 2026 Comparison Guide

The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.