Pick your source file before you publish
When you publish a Tableau dashboard, you need to tell Tableau which data file to use as the source. This choice happens before publishing starts, not after. You select the file from your computer or network, and Tableau reads from that file to power everything your dashboard displays.
The file you choose becomes the foundation for your entire dashboard. If you pick the wrong file — one with incomplete data, outdated numbers, or the wrong structure — your dashboard will show incorrect information to everyone who views it. Selecting the right source file takes a few minutes and prevents problems later.
Key Takeaways
- Your source file must be in a format Tableau recognizes: Excel (.xlsx or .xls), CSV, JSON, or a direct database connection.
- The file location matters — if you move or delete the file after publishing, your dashboard may stop working unless you use a cloud storage option or database.
- Check that your source file contains all the columns and rows your dashboard needs before you start the publishing process.
- If your dashboard uses multiple data sources, you will select each one separately during publishing.
File formats Tableau accepts
Tableau works with several file types. The most common are Excel files (.xlsx and .xls), which you can open and edit in Microsoft Excel or Google Sheets. CSV files (comma-separated values) are plain text files that any spreadsheet program can open. JSON files store data in a structured text format. You can also connect directly to databases like SQL Server, PostgreSQL, or MySQL instead of using a file.
If your file is in a different format — like a Numbers file from Mac, a Google Sheet, or a proprietary database format — you will need to export or convert it to one of these formats first. Tableau cannot read directly from a Numbers file or pull live data from a Google Sheet without additional setup, so check your file type before you start publishing.
Where to store your file so Tableau can find it
Your source file can live in several places. If it is on your computer, Tableau will read from that location. If it is on a network drive that your computer can access, Tableau can read from there too. The challenge is that after you publish, if you move or delete the file, your dashboard may break — Tableau will look for the file in the original location and fail if it is not there.
To avoid this problem, consider storing your source file in a cloud location like OneDrive, Google Drive, or Dropbox that stays in the same place. Alternatively, if your organization uses a database, connect Tableau directly to the database instead of using a file. That way, the data lives on a server and does not depend on a single file staying in one location.
Steps to select your source file when publishing
Open your Tableau workbook (the file with your dashboard). Go to the File menu and select "Publish As" or "Publish". Tableau will open a dialog asking you to choose a location — either Tableau Server or Tableau Cloud, depending on what your organization uses.
Before the publish dialog appears, Tableau checks for data sources. If your dashboard uses a file on your computer, Tableau will ask you to confirm the file path. Look at the file name and location shown — make sure it matches the file you intended to use. If it shows the wrong file, cancel the publish, open the correct file in Tableau, and start again. If the path is correct, proceed with publishing.
If your dashboard uses multiple files, Tableau will list each one. Check every file name and path. This is your last chance to catch a mistake before the dashboard goes live.
What happens if you select the wrong file
If you publish with the wrong source file, your dashboard will display data from that file instead of the data you intended. Users will see incorrect numbers, missing columns, or filtered results that do not match what they expect. The problem may not be obvious until someone actually uses the dashboard and notices the data is wrong.
If you catch the mistake after publishing, you have two options. You can republish the dashboard with the correct source file — this overwrites the published version. Or you can edit the data source connection in Tableau Server or Tableau Cloud to point to the correct file, though this requires admin access and may not work if the file structure is very different.
Checking your source file before you publish
Before you publish, open your source file in Excel or your spreadsheet program and verify three things. First, check that all the columns your dashboard uses are present — if your dashboard shows a "Region" field but your file has no Region column, the dashboard will break. Second, confirm that the data looks current and complete — spot-check a few rows to make sure the numbers match what you expect. Third, verify that the file has no blank rows or columns in the middle of the data, which can confuse Tableau.
If you find problems, fix them in the source file, save the file, and then refresh the data in your Tableau workbook before publishing. This takes a few extra minutes but prevents publishing a broken dashboard.
Using multiple source files in one dashboard
Some dashboards pull data from more than one file. You might have one file with sales data and another with customer information, and your dashboard joins them together. When you publish, Tableau will ask you to confirm the location of each file. Check every file path — if even one is wrong, the join will fail and your dashboard will not display correctly.
If your files are in different locations or on different servers, write down the full path for each one before you start publishing. This helps you verify quickly that Tableau is reading from the right places.
Frequently Asked Questions
Can I change the source file after I publish?
Yes, but it requires republishing. Download the published workbook from Tableau Server or Cloud, open it in Tableau Desktop, change the data source to point to the new file, and republish. The new file must have the same column names and structure, or your dashboard may break.
What if my source file is on a shared network drive?
Tableau can read from a network drive if your computer has access to it. However, after publishing, the Tableau Server or Cloud may not have access to that same drive. Ask your IT team whether the server can reach the network location, or move the file to cloud storage instead.
Does Tableau copy the file when I publish, or does it stay linked?
Tableau stays linked to the original file. It does not copy the file to the server. If you delete or move the original file, the published dashboard will stop working. To avoid this, use cloud storage or a database that the server can access reliably.
What if my file is too large for Tableau to read?
Very large files can slow down Tableau or cause memory errors. If your file is over 1 GB, consider filtering it to include only the rows and columns your dashboard needs, or connect to a database instead of using a file.
Can I publish a dashboard that uses data from multiple different file formats?
Yes. You can have one data source from an Excel file and another from a CSV file in the same dashboard. Tableau will ask you to confirm the location of each file during publishing.