Available on Enterprise plan.
Configuration
To create a new sync, choose either Tableau Cloud, Tableau Desktop, or Tableau Server:Personal access tokens might be disabled in your Tableau site configuration.
To enable them, navigate to the Settings page of your Tableau site
and click Enable personal access tokens.Personal access tokens expire if not used for 15 consecutive days. If used
regularly, they expire after one year. You can customize the default expiration
period in the Settings page of your Tableau site. Make sure to renew
your personal access token before it expires.
If your Tableau Server instance is served with a certificate from a private
or internal CA, the sync fails at the connection step with a
SELF_SIGNED_CERT_IN_CHAIN / “self-signed certificate in certificate chain”
error. Commit the CA certificate (PEM) to your
data model’s Git repository, e.g., as certs/my-ca.pem, and set the
NODE_EXTRA_CA_CERTS environment variable to its
absolute path, e.g., /cube/conf/certs/my-ca.pem — the sync’s outbound
requests run in Node.js, so this is what makes it trust the certificate.
This doesn’t apply
to Tableau Cloud, which Tableau itself serves with a publicly trusted
certificate.Tableau Cloud
For Tableau Cloud, you need to specify aregion and a site name. Consider the
following URL of a Tableau Cloud site: https://10ax.online.tableau.com/#/site/cubedev/home.
In this case, the region would be 10ax and the site name would be cubedev.
Example configuration for Tableau Cloud:
Tableau Server
For Tableau Server, you need to specify ahostname, site, and apiVersion.
To find your site name, look at your Tableau Server URL: the site name is
the value that follows /site/ in the URL. If there is no /site/ segment in
the URL, you are using the Default site — leave the site field blank
in the Cube configuration.
Example configuration for Tableau Server:
Least-privilege mode
By default, Semantic Layer Sync manages Tableau project permissions, which requires the personal access token to belong to a Site Administrator. Enable Least-privilege mode to run the sync without Site Administrator privileges. When enabled, Cube does not manage Tableau project permissions, so:userNamesWithAccessandgroupNamesWithAccessare ignored — manage access to the synced project in Tableau instead.- The top-level project must already exist, unless the personal access token has permission to create it.
leastPrivilegeMode in your configuration:
Features
Syncs with Tableau Cloud and Tableau Server run automatically via the Tableau API.Hierarchies and folders
Hierarchies defined in your data model are synced to Tableau as hierarchies, so users can drill down through their levels. Folders defined in views are synced as Tableau folders, including any hierarchies listed in them. Tableau doesn’t support nested folders, so they are flattened. Define hierarchies and folders in the data model rather than in Tableau. Each sync overwrites the published data source, so hierarchies or folders added to it in Tableau are lost on the next sync. To build a hierarchy on a calculation, define the calculation as a dimension in the data model and use that dimension as a level of the hierarchy.Tableau Desktop
The recommended way to use Cube with Tableau Desktop is to connect to your Tableau Cloud or Tableau Server account from within Desktop and choose the synced data source from there. This ensures your data source stays up to date with any changes made through Semantic Layer Sync. Alternatively, you can download a.tds file to get the data model into
Tableau Desktop. Click Download .tds to download a Tableau data source file:
You must be logged in to Tableau Server or Tableau Cloud in your desktop
environment when you open the
.tds file.