For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Requirement
Detail

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.

  1. In Files, select jar to download mysql-connector-j-9.2.0.jar.

  2. Place the JAR file in the Tableau drivers folder for your operating system:

macOS:

~/Library/Tableau/Drivers/

Windows:

If the Drivers folder doesn't exist, create it.

Verify the file is in place:

  1. 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

  1. From the Data Product page, go to Activate → BI → Tableau.

  2. Click Download. The download is a ZIP file containing one file and one folder.

  3. Extract the ZIP. Inside, open the folder named tables; you'll find the .tds file there.

What's in the ZIP:

Item
What it is

.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 .tds directly 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

Symptom
Quick fix

"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?