Tableau
Tableau 连接器助您在 Designer 中连接至 Tableau。
Tableau 在输入数据和输出数据工具中作为数据源提供,也可作为独立的 Tableau 输入和 Tableau 输出工具。
Designer 中的新连接器版本
Tableau 连接器现在是 Alteryx One 连接器体验的一部分。请仔细阅读此页面上的信息,以确保您正确使用相应的工具。
如需更新 Designer 工作流中的 Tableau 连接器,可使用工作流迁移实用程序。
Tableau 连接器详细信息
Tableau 在 Designer 2025.1 补丁 5 或更高版本以及 2025.2 补丁 3 或更高版本中可用作输入数据和输出数据工具的数据源。如需详细了解文件类型选项,请转至 [links]。
Prerequisites
Ensure you have completed the following prerequisites before proceeding:
Requirement | Detail |
|---|---|
Designer version | Designer 2026.1+ (required for unified connector and also required specifically for Output options like Hyper file version and database schema selection) |
Tableau Server version | Tableau Server 2023.3+, using Tableau REST API 3.21 |
AMP | Must be enabled |
DCM | You must enable DCM in Designer. Go to Options > Advanced Settings > DCM to enable it |
Tableau deployment type | Tableau Server (self-hosted, on-prem or private cloud) using your server URL |
Install the Connector
You can easily install the latest version of the Tableau connector from Designer via the Add-Ons. This is the recommended installation method that allows you to browse, install, and update connectors without leaving Designer or visiting the Alteryx Marketplace.
To install the connector...
In Designer, go to Add-Ons > Manage Marketplace Add-Ons. You will see a list of available connectors.
Select Tableau Tools and select Install. Designer downloads and installs the package. Designer might require a restart to complete the installation.
After installation and setup are complete, the Tableau connector is available from the Input Data and Output Data tools.
Set Up a Connection
To connect to Tableau using DCM...
Drag the Input Data or Output Data tool to the canvas, and select Connect to Data.
In the Connector Setup, select Create or Browse a Data Connection.
If you've created a Tableau connection before, you can select the connection from the Recents tab.
Select + New. From the list of technologies, select Tableau.
Select Setup Connection. The Connections window opens.
Select +New.
Specify the connection name, data source name, and the server URL.
In the Credentials section, select your authentication method, and enter the credential name. For more information, see Authentication Methods.
Select Save.
Select Connect. Tableau may request authentication.
Select the file to read from or write to in the file browser window.
Select the read or write configuration in the Options window.
Select Confirm to create a connection to the file. You can continue building your workflow.
Input and Output Tools
The Tableau Input and Output tools are used to read from and write to Tableau.
Tableau Input
Tableau Input reads data from a published Tableau data source.
Authenticate through a DCM Tableau connection.
Browse sites and projects in a tree, with pagination and fuzzy search, or enter a path.
Select a single-table datasource to read.
Columns are returned as typed data (for example, Date and DateTime are read as date and datetime types).
Tableau Output
Tableau Output writes data to Tableau and publishes it as a datasource (a Hyper extract). This tool supersedes the older Publish to Tableau Server tool.
Authenticate through a DCM Tableau connection.
Choose or define the destination: browse to a project and datasource, or enter the project path and datasource name (including dynamic paths driven by fields or parameters).
Write to a single table with a name of your choice.
Choose the action when the datasource already exists: create a new datasource, rename and create, overwrite the existing datasource (preserves the datasource ID and creates a new version), or append rows to the existing datasource. Append and Overwrite are performed through the Tableau API.
Select the Hyper file version (V1 through V4) and the database schema (for example,
publicorExtract). These options require Designer 2026.1+.
Object Model
Understanding the Tableau hierarchy helps you configure the tools correctly:
Site: Organizations often use separate sites per business unit or environment. Each site has its own users, projects, workbooks, and datasources.
Project: Used to organize content. Projects can be nested.
Workbook: Contains one or more sheets (visualizations, dashboards, stories) and uses datasources for its underlying data.
Datasource: The connection to data that workbooks use. It can be a live connection or an extract. A datasource exposes one or more tables.
Table: A structured dataset inside a datasource. When Alteryx publishes to Tableau, it writes into a table within a datasource, stored as a
.hyperextract.
Authentication Methods
The unified connector authenticates through DCM. Tableau supports three authentication methods. Use the table below to choose the right one for your use case.
Method | Desktop | Cloud (Alteryx One) |
|---|---|---|
Personal Access Token (PAT) | Yes | No |
Tableau Server username and password | Yes | No |
Tableau Connection Manager (TCM) | No | No |
注意
Tableau Server (self-hosted, on-premises, or private cloud) connects using your server URL, and supports either a Personal Access Token (PAT) or a Tableau Server username and password as credentials.
Tableau Cloud (SaaS, hosted by Tableau) uses a site-specific URL of the form
https://<site>.online.tableau.com. Tableau Cloud support for the unified connector is in progress and not yet available.
Migration to Unified Tableau
If you already use the Tableau connector in Alteryx, read the section below. It walks through what has been changed in the unified version.
Parameter | Legacy Connector (Python SDK) | Unified Connector |
|---|---|---|
Platforms and Tools | Desktop (Input and Output) | Desktop (Input and Output) at GA Cloud in progress |
Framework | Python SDK | Unified connector framework |
Communication / API | Legacy Tableau REST API | Tableau REST API 3.21 (requires Tableau Server 2023.3+) |
Authentication | Legacy authentication | Personal Access Token (PAT) or Tableau Server username and password |
Connection model | Tool-level / non-DCM | DCM |
Existing workflows can be migrated using the Alteryx Workflow Migration Utility in Designer 2025.1 Patch 5 or later. However, it is only available on desktop. For more information, see workflow migration utility.
Limitations
DateandDateTimevalues now show trailing zeros on read (extra microsecond digits). To restore the previous formatting, add a Select or Sample tool downstream to trim the extra zeros.Tableau Output cannot publish a datasource from a fixed-decimal field that was read from a local
.hyperfile. Convert the field to a Double (for example with a Select tool) before the Tableau Output tool. This also helps avoid conflicts during later Append or Overwrite operations on the same datasource.Update, Upsert, and Upload Hyper File operations are no longer supported. If your workflow relies on Update or Upsert, redesign it to use Overwrite (to replace a datasource) or Append (to add rows).
The connector now supports only single-table datasources. You write to a single table with a name of your choice, and
.tdsfile support has been removed as a result. If your workflow uses multi-table datasources, redesign it to publish to a single-table datasource instead.You can't create new or nested projects directly from the connector. Create the project in Tableau first, then browse to it or enter its path in the tool.
The tool does not list the tables inside a datasource for you to pick from. Enter the table name manually instead.
Non-DCM connection methods have been removed, so all connections must be created through DCM, authenticated with a PAT or a Tableau Server username and password.
Tableau Connection Manager (TCM) is not supported on either Input or Output. Use a PAT or a Tableau Server username and password instead.
The Attach Metadata and Enable Dry Run options aren't available for Tableau Input on the unified-connector framework, on Desktop.
The connector requires Designer 2026.1+ and Tableau Server 2023.3+ (Tableau REST API 3.21) for both Input and Output. Advanced options like Hyper file version and database schema selection also require Designer 2026.1+.
Currently, the connector is available on Desktop (Flagship) only, for both Input and Output. Cloud support is in progress with no confirmed date. Once Cloud ships, expect the migration utility to remain unavailable there, local download to stay Desktop-only, the connection-creation flow to differ (built-in connection creation will not be available), and supported formats and produced datatypes to potentially differ from Desktop.
Connector Release Version 2.1.0 | |
|---|---|
Version | Description |
v2.1.0 |
|
v2.0.1 |
|
连接类型 | Alteryx 工具。最新版本可从 Alteryx Marketplace 获得。 |
支持类型 | 读取/写入/发布 |
验证日期 | Tableau SDK 10.3(空间支持) |
版本 | 描述 |
v1.5.4 |
已知问题
|
v1.5.3 |
已知问题
|
v1.5.2 |
|
V1.5.1 |
|
v1.5.0 |
|
v1.4.3 |
|
v1.4.2 |
|
v1.4.1 |
|
v1.4.0 |
|
v1.3.1 |
已知问题
|
v1.3.0 |
已知问题
|
v1.2.0 |
已知问题
|
v1.1.1 |
|
v1.1.0 |
|
v1.0.1 |
已知局限:
|
用于连接的 Alteryx 工具
重要
输入数据工具以 Tableau Hyper 数据提取 (HYPER) 文件的形式读取数据。此工具仅支持本地文件。
输出数据工具将数据保存为 Tableau Hyper 数据提取 (HYPER) 文件。此工具仅支持本地文件。
Tableau 输出工具创建 Tableau Hyper 数据集并将其上传到 Tableau 服务器,或在本地将其保存为 Tableau Hyper 数据提取 (HYPER) 文件。
发布至 Tableau Server 工具已被弃用。功能已被 Tableau 输出工具取代。
数据连接管理器
Tableau 工具 1.2.0 版及更高版本支持支持数据连接管理器,以便更轻松、更安全地存储凭证。创建到 Tableau 的连接,并在包含 Tableau 工具的工作流中轻松重复使用存储的凭证。Alteryx Server 需要存储的凭证才能成功运行已发布的工作流。
启用 AMP Engine
确保您为包含 Tableau 工具 1.2.0 版及更高版本的工作流启用了 AMP Engine。
API 访问
Tableau 工具需要对 Tableau 实例进行 API 访问。要使 Tableau 工具正常工作,请与 Tableau 管理员联系,确保您的实例启用了 CORS,并将 file:// 值添加到允许的主机。
限制
Tableau 不支持单点登录或多因素身份验证。仅支持使用用户名和密码或个人访问令牌登录。个人访问令牌是长期存在的身份验证令牌,允许您使用 Tableau REST API 运行自动化,而无需硬编码凭证或交互式登录。
您只能搜索全名,因此需要提供“数据源名称”,而不仅仅是“名称”。
从 Designer 版本 2021.2 开始,以具有最大大小的 V_WString 读入 .hyper 文件中的文本字段,以避免数据损失。要解决此问题,您可以在将数据写入任何其他格式之前使用自动字段工具或选择工具。
由于 Tableau 的限制,用户无法使用单个个人访问令牌请求并发 Tableau Server 会话,因此无法使用同一个个人访问令牌同时运行多个 Tableau 工具。尝试使用相同的个人访问令牌登录并发会话将导致上一个会话终止,并可能导致身份验证错误。如需了解详情,请参阅有关个人访问令牌的 Tableau 帮助文档。



