Tableau Desktop
Connect Tableau Desktop to turn your dimensions and measures into charts, dashboards, and drill-downs - no SQL required.
Tableau Desktop connects to your semantic layer over the MySQL wire protocol.
Every dimension, measure, and join already defined in your semantic model shows up as a data source, ready for visuals: no custom SQL, no redefining measures or dimensions per workbook.
Prerequisites
Set these up once on the machine running Tableau Desktop. You only need to do this the first time.
Operating system
macOS or Windows.
Tableau Desktop
Any version that supports MySQL connections. Download Tableau Desktop.
MySQL Connector/J
Use version 9.2.0 exactly. Download from Maven Repository.
DataOS Username
Your DataOS user ID, found under Profile → Id.
Generate from Profile → Tokens, or copy a token from Before you begin.
Step 1: Install the MySQL Connector/J driver
This is a one-time setup.
Open MySQL Connector/J 9.2.0.
In Files, select jar to download
mysql-connector-j-9.2.0.jar.Place the JAR file in the Tableau drivers folder for your operating system:
macOS:
~/Library/Tableau/Drivers/Windows:
If the
Driversfolder doesn't exist, create it.
Verify the file is in place:
Restart Tableau Desktop if it was open during installation.
Version 9.2.0 specifically. Other versions may not be compatible with the MySQL wire protocol used by DataOS.
Step 2: Download the .tds file
From the Data Product page, go to Activate → BI → Tableau.
Click Download. The download is a ZIP file containing one file and one folder.
Extract the ZIP. Inside, open the folder named
tables; you'll find the.tdsfile there.
What's in the ZIP:
.tds file (inside tables/)
Contains semantic model references. Double-click to open in Tableau Desktop.
manifest.json
Contains connection details.
Extract before opening. Opening the
.tdsdirectly from inside the ZIP may cause connection errors.
Step 3: Open the .tds file
Double-click the .tds file. Tableau Desktop opens it automatically and establishes the connection to your semantic layer.
If Tableau prompts you to enter credentials:
Username: your DataOS Id
Password: your DataOS API token
Click Sign In.
Step 4: Your semantic models are loaded
Once authenticated, every available semantic model, with its dimensions and measures, appears in the left-hand Data pane, ready to use in sheets and dashboards.
You're connected. Build visualizations, dashboards, and stories directly on top of the semantic layer.
Troubleshooting
"No suitable driver" or driver error on connect
The JAR file is not in the correct Tableau Drivers folder. Verify the path and restart Tableau Desktop.
"Unable to connect"
Check that port 3306 is reachable from your machine. Check VPN or firewall rules.
Authentication fails
API token is incorrect or expired. Retrieve a fresh token from the Tokens tab and retry.
.tds file doesn't open Tableau
Tableau Desktop is not set as the default application for .tds files. Right-click → Open With → Tableau Desktop.
Dimensions or measures missing
The semantic model schema changed after the .tds was downloaded. Re-download the .tds from the Data Product page.
For data types, best practices, limitations, and governance, see the Tableau reference in References.
Last updated
Was this helpful?