How Can I Automate Data Updates in Tableau?

Cody Schneider8 min read

Manually hitting the 'Refresh' button on your Tableau dashboards every Monday morning is a surefire way to waste valuable time that could be spent analyzing data, not just gathering it. Automating your data updates is essential for keeping reports fresh and ensuring your team makes decisions based on the most current information available. This article will walk you through exactly how to automate data updates in Tableau using its two core data connection types, covering both Tableau Cloud and Tableau Server environments.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Understanding Your Data Connection Options in Tableau

Before you can automate anything, you need to understand how Tableau connects to your data. There are two primary methods, and the one you choose dictates how your data stays up-to-date and how you'll approach automation.

Live Connections vs. Tableau Extracts

Think of this as the foundational choice for any dashboard you build. It’s a trade-off between real-time data and dashboard performance.

  • Live Connections: A live connection queries your source database directly. When a user interacts with your dashboard - like applying a filter - Tableau sends a query to the database and displays the results almost instantly.
  • Tableau Extracts (.hyper files): An extract is a highly compressed snapshot of your data that is stored and optimized within Tableau's high-performance data engine. Instead of querying your source database, a dashboard built on an extract queries this super-fast local copy.

Which One Should You Choose?

For most business intelligence and analytical reporting, Tableau Extracts are the way to go. The performance gains almost always outweigh the need for millisecond-level data accuracy. A dashboard showing last month's sales performance doesn't need to be live. A daily, or even hourly, refresh is more than sufficient. For the remainder of this guide, we'll focus on automating the refresh process for these powerful extracts, as this is the most common and effective way to automate data updates in Tableau.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

How to Automate Data Refreshes for Tableau Extracts

The core of automating data updates is scheduling when Tableau should go back to your original data source (like Google BigQuery, Salesforce, or a SQL server), pull the latest data, and rebuild your extract file. The process varies slightly depending on whether you're using Tableau’s cloud-based solution or running your own server.

Method 1: Using Tableau Cloud (Formerly Tableau Online)

Tableau Cloud is Tableau's fully hosted SaaS platform, and it has built-in features for scheduling refreshes. The process is straightforward if your data source is also in the cloud (like Snowflake, Amazon Redshift, or Google Analytics).

Step-by-Step Instructions:

  1. Publish Your Data Source and Workbook: Create your visualization in Tableau Desktop using an extract connection. When you're ready, publish the workbook to your Tableau Cloud site. During the publishing process, you'll be prompted about the data source. It's best practice to publish the workbook and the data source separately.
  2. Embed Database Credentials: This is the most important step for automation. When you publish the data source, Tableau will ask you how users should access the data. Choose the "Embedded password" or an equivalent OAuth option. This securely stores the credentials, allowing Tableau Cloud to log in to your data source on your behalf without requiring manual input each time.
  3. Navigate to the Data Source: Once published, locate your data source on the Tableau Cloud site (not the workbook). Click on it.
  4. Set a Refresh Schedule: Look for the Refresh Schedules tab. Here, you can click New Refresh Schedule. Tableau Cloud provides a list of default schedules, like daily, weekly, or specific hours of the day. Choose the one that best fits your business needs. You can assign multiple schedules if needed.
  5. Run a Test Manually: Before you walk away and trust the schedule, it's wise to test the connection. Navigate to the data source, click the three-dot menu (...) next to the connection, and select Run Now. This will trigger an immediate refresh.
  6. Monitor Refresh History: A few minutes after your test, check the Refresh History tab. You should see a green checkmark indicating a successful refresh. If you see a red 'X', Tableau provides an error message that can help you troubleshoot the problem (it's often a credential or permission issue).

Method 2: Using Tableau Server

If your organization hosts its own Tableau Server instance, the process for users is nearly identical to Tableau Cloud, with one key difference related to who controls the schedules.

The steps are largely the same: create an extract, publish the data source, and make sure to embed the database credentials. However, when you go to the Refresh Schedules tab, the list of available schedules is defined and managed by your Tableau Server Administrator. You simply choose from the pre-approved list.

If you don’t see a schedule that meets your needs (e.g., you need an hourly refresh, but only daily options are available), you'll need to contact your server administrator to have them create a new schedule for you.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Automating Updates from Local or On-Premise Files (Excel, CSV)

What if your data isn't in a cloud database but in an Excel or CSV file on a local computer or a company file share? This is a very common scenario and requires an extra step.

For Tableau Cloud Users: Use Tableau Bridge

Tableau Cloud exists on the internet and has no direct way to access a file saved on your C:\ drive. Tableau Bridge is a free client you install on a computer within your network that "bridges" this gap. It acts as a secure tunnel, allowing Tableau Cloud to reach your on-premise data.

  • Setup: Install the Tableau Bridge client on a computer that is always on and has access to the raw data file. Link it to your Tableau Cloud site.
  • Scheduling: When you publish a workbook connected to a local file, Tableau Cloud will recognize that it requires Bridge. Your data source will then become available for scheduled refreshes just like a cloud source, with Bridge facilitating the connection.

For Tableau Server Users: Use a Shared Network Drive

If you're using Tableau Server, the server itself needs to be able to access the file path. You cannot connect to a file on your personal desktop like C:\Users\YourName\Documents\report.xlsx. Instead, the file must be stored on a shared network drive.

When connecting to the data in Tableau Desktop, use a full Universal Naming Convention (UNC) path, like: \\fileserver\shared_data\marketing\weekly_kpis.csv. This tells Tableau Server the exact network location of the file. As long as the Tableau Server service account has read permissions for that location, your scheduled refreshes will work seamlessly.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Tips for Smooth and Reliable Data Automation

Setting up your schedule is just the first step. To ensure your automated data updates are efficient and reliable, consider these best practices:

  • Use Incremental Refreshes: For very large datasets, a full refresh (deleting the old data and replacing it) can take a long time. An incremental refresh only adds new rows based on a specified column, like a date or an ID. This can dramatically reduce your refresh times.
  • Stagger Your Schedules: Try to avoid scheduling all your critical data source refreshes at the same time, especially during peak hours like 8 AM Monday morning. Staggering them throughout off-peak hours (like overnight) reduces the load on both your database and your Tableau Server/Cloud site.
  • Filter Your Data Source: Don't pull in more data than you need. Before creating your extract, apply data source filters in Tableau Desktop to include only the relevant years, regions, or categories for your dashboard. A smaller extract is a faster extract.
  • Enable Refresh Failure Notifications: In your Tableau Cloud or Server account settings, you can subscribe to notifications for extract refresh failures. This is a lifesaver, as it alerts you immediately via email if a refresh fails, so you can fix it before your stakeholders notice the stale data.

Final Thoughts

Automating your data updates in Tableau frees you from the manual, repetitive task of refreshing reports, giving you more time for meaningful analysis. By choosing the right connection type and correctly configuring your published data sources on Tableau Cloud or Server, you can ensure your team always has access to timely, reliable information for decision-making.

This process eliminates a huge piece of the manual reporting grind. At Graphed, we're building a platform to automate the entire reporting workflow, from connection and live updates to visualization and insight generation. By connecting sources like Google Analytics, Shopify, and Salesforce, you can create real-time dashboards just by asking questions in plain English - no need to configure extracts or manage schedules. We designed Graphed to help teams get immediate clarity on their performance without getting stuck in the technical setup that consumes so much time in traditional BI tools.

Related Articles