Tableau lineage configuration
To import lineage metadata from Tableau, create a data source definition, a connection, and a metadata import job.
Tableau is a data visualization tool that simplifies data and converts it into actionable insights.
Supported versions
- Tableau Cloud
- Tableau Server 10.3
Processed metadata
The following Tableau metadata is processed and displayed on lineage:
- Workbooks:
- Worksheets, dashboards, stories
- Row and column shelves
- Properties of the chart set on the marks card (for example color, angle, or size)
- Filters and pages
- Measure Values and Measure Names fields
- Workbooks and data sources in the user's personal space
- Data sources:
- Published data sources and data sources that are part of a workbook
- Connection to a database (for example PostgreSQL, Oracle, Microsoft SQL Server, or Db2). You can load the entire data set or you can connect by using custom SQL.
- Connection to a file (CSV, XLSX, and so on)
- User-defined calculations
- Sets
- Groups
- Parameters
- Geographical data
- Extracts
- Joins
- Union
- Pivot
Limitations
The following limitations apply:
- The following data is not processed:
- Data sources that are not used in any workbook
- Initial SQL
- Tableau Prep
- Reference and intersection filters
- Connections that use stored procedures
- Connections to Apache Hive
- You can't connect to two or more sheets from one Excel file.
Prerequisite configuration
Before you import lineage metadata, ensure that the following prerequisites are met:
- Tableau REST API is enabled.
- To download workbooks and data sources, you must have one of the following roles:
- Site Administrator. Such user can download everything.
- Explorer. Additionally, provide download permission individually for all workbooks and data sources that you want to analyze.
Creating a metadata import asset
Data source connection
To connect to the data source from which you want to import lineage metadata, you need to select a data source definition and a connection. You can create them before you start creating the metadata import, or you can create them when you create and configure the metadata import asset.
Data source definition
Select Tableau as the data source type.
Connection
To create the connection asset, you need the following connection details:
- Hostname or IP address of Tableau. Do not include
httporhttps. - Site: the name of Tableau site. Leave the value empty to use the default site for on-premises Tableau Server. Provide the value if you use Tableau Cloud or if the default site of on-premises Tableau Server is overridden.
- Credentials: username and password of the user with appropriate permissions, or Personal Access Token.
For connection details, see Tableau connection.
Connection mode
You can connect to Tableau by using one of the following connection modes:
- Direct connection
- Remote connection with a Manta agent. When an agent is configured, select it from the list. For more information, see Configuring agents for lineage metadata import.
Include and exclude lists
You can include or exclude assets up to the workbook level. Provide projects and workbooks in the format project/sub-project/workbook. The whole input is evaluated as a regular expression. Assets that are added later in the data source will also be included or excluded if they match the conditions that are specified in the lists. Example values:
myProject/: all workbooks inmyProjectmyProject2/.*: all workbooks inmyProject2myProject3/myWorkbook1:myWorkbook1frommyProject3myProject4/myWorkbook[1-5]: any workbook inmyProject4with a name that starts withmyWorkbookand ends with a digit between 1 and 5myProject4/mySubProject/myWorkbook[1-5]: any workbook inmyProject4andmySubProjectnested within it, with a name that starts withmyWorkbookand ends with a digit between 1 and 5".
External inputs
You can add whole exported Tableau workbooks as external inputs in the archive .zip file. The file can have the following structure:
[project_name] - Arbitrary nested folder structure of project folders.
[workbook].twb - A file with the workbook.
[workbook].twbx - A file with the workbook.
[workbook].tds - A file with the workbook data source.
[workbook].tdsx - A file with the workbook data source.
You can download workbooks and data sources from your parent project in Tableau Cloud or Tableau Server.