Dataset
Tableau workbook and data source datasets for AI training
A Tableau dataset is a set of a business's Tableau workbook and data source files: .twb and .twbx workbooks with their worksheets and dashboards, .tds and .tdsx data sources, the calculated fields, parameters and level of detail expressions written in them, Tableau Prep flows, and the .hyper extracts where the underlying data is licensed too. SourceX sources it to a buyer's spec from established businesses that run Tableau Server, Tableau Cloud or Tableau Desktop. Each dataset is de-identified, with connection details and user names removed, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Workbook and data source files with their calculated fields, chart definitions and dashboards, plus extracts where the data is licensed too
- Typical systems
- Tableau Desktop files and Tableau Server or Tableau Cloud sites, with published data sources, extracts and Tableau Prep flows where in scope
- Typical history
- Specified by the buyer; a file holds its latest state, and earlier versions exist only where the site kept revision history
- Modality
- XML workbook and data source definitions with formula text; columnar extract tables; optional rendered images of views
- Delivery formats
- Agreed per order; original .twb and .tds XML with a JSONL index of worksheets and calculations, and extracts as .hyper or Parquet
- Preparation
- Server names, database names, usernames and SQL literals removed or replaced; extract values de-identified; owner names replaced with keys
- Licensing
- Rights reviewed per business; permitted use set in the license; extract data is scoped separately from the definitions
- Availability
- Sourced to your spec from businesses that agree; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| workbook_key | string | Pseudonymous key for one workbook, from its ID on the Tableau site or the name of the .twb or .twbx file. |
| project_path | array | The projects the workbook was published under on the site, from the top-level project down. |
| source_build | string | The Tableau release that last saved the file, from the source-build attribute on the workbook element of the .twb XML. |
| revision | integer | The workbook's revision number where the Tableau Server or Tableau Cloud site kept revision history. |
| datasources | array | Each datasource element: caption, connection class such as sqlserver, snowflake or hyper, whether it is embedded or a published data source, and live or extract. |
| relations | array | The tables, joins and custom SQL text a data source reads, from the relation elements of its connection, with literals masked. |
| columns | array | Field definitions from the data source's column elements: caption, internal name, datatype, role (dimension or measure) and any comment the author wrote. |
| calculated_fields | array | Columns that carry a calculation element: the formula text, level of detail expressions included, with internal [Calculation_...] names resolved to captions. |
| parameters | array | Entries of the workbook's Parameters data source: caption, datatype, current value and the allowed list or range. |
| worksheets | array | One entry per worksheet element: fields on the Rows and Columns shelves, the mark class, and the encodings on Color, Size, Text, Detail and Tooltip. |
| filters | array | Filter elements of each worksheet and data source: the column, the filter class and the members or range selected. |
| dashboards | array | Each dashboard's tree of zones (worksheets, filter controls, text, images) and the workbook actions that link its sheets. |
| extract | object | For an extracted data source: the .hyper file, its tables and row counts, extract filters, aggregation setting, full or incremental refresh and last refresh time. |
Field names from the table above; values are masked placeholders.
Example record
{
"workbook_key": "wb_4c81e0",
"project_path": [
"Finance",
"Receivables"
],
"source_build": "2023.1",
"revision": 14,
"datasources": [
{
"caption": "AR Aging (warehouse)",
"connection_class": "sqlserver",
"published": false,
"mode": "extract"
}
],
"relations": [
{
"type": "table",
"table": "[dbo].[ar_open_items]"
},
{
"type": "text",
"name": "Custom SQL Query",
"sql": "SELECT customer_key, region FROM dim_customer WHERE status = [LITERAL]"
}
],
"columns": [
{
"caption": "Aging Bucket",
"name": "[Calculation_1368249927221915648]",
"datatype": "string",
"role": "dimension",
"type": "nominal"
}
],
"calculated_fields": [
{
"caption": "Days Past Due",
"formula": "DATEDIFF('day', [Due Date], [As Of Date])"
},
{
"caption": "Aging Bucket",
"formula": "// buckets agreed with credit control\nIF [Days Past Due] <= 0 THEN 'Current' ELSEIF [Days Past Due] <= 30 THEN '1-30' ELSE '31+' END"
},
{
"caption": "Customer Open Balance",
"formula": "{ FIXED [Customer Key] : SUM([Open Amount]) }"
}
],
"parameters": [
{
"caption": "As Of Date",
"datatype": "date",
"value": "2024-03-31",
"domain": "all"
}
],
"worksheets": [
{
"name": "Aging by Region",
"rows": [
"[none:Region:nk]"
],
"cols": [
"[sum:Open Amount:qk]"
],
"mark": "Bar",
"encodings": {
"color": "[none:Aging Bucket:nk]",
"text": "[sum:Open Amount:qk]"
}
}
],
"filters": [
{
"worksheet": "Aging by Region",
"column": "[none:Aging Bucket:nk]",
"class": "categorical",
"excluded": [
"Current"
]
}
],
"dashboards": [
{
"name": "Collections Overview",
"zones": [
{
"type": "worksheet",
"name": "Aging by Region"
},
{
"type": "worksheet",
"name": "Top Overdue Customers"
}
],
"actions": [
{
"type": "filter",
"source": "Aging by Region",
"target": "Top Overdue Customers"
}
]
}
],
"extract": {
"file": "Data/Extracts/ar_aging.hyper",
"table": "Extract.Extract",
"rows": 184220,
"extract_filters": [
"[Fiscal Year] >= 2022"
],
"refresh": "full",
"last_refresh": "2024-04-01T05:10:00Z"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train models to write Tableau calculations
Captions, comments and formulas give pairs of a metric's business name and its expression, including nested level of detail logic.
Generate chart specifications from data
Shelves, mark classes and encodings next to the data source's fields show which chart an analyst built from which columns.
Ground analytics agents in metric definitions
A company's calculated fields state how it defines margin, churn or aging, which a general model cannot know.
Evaluate dashboard question answering
Where the extract is delivered, the numbers a view shows can be recomputed from its rows, so answers about a dashboard are gradable.
Translate between BI tools and SQL
Formulas beside the custom SQL and tables they read support translating Tableau logic into warehouse queries.
Use-case guides: Enterprise and computer-use agents, Private evaluation sets, Coding agents
What makes this data valuable
References resolved
Every [Calculation_...] name in a formula maps to a caption that is present in the delivery.
Extracts dated
Each .hyper file comes with its last refresh time, refresh type and any extract filters.
Data sources delivered
Published data sources that workbooks connect to arrive as .tds or .tdsx files.
Comments kept
Formula comments and field comments survive, since they are the only stated intent.
Workbooks in use
View counts or recent revisions separate maintained dashboards from abandoned drafts.
Connections cleaned
No server names, usernames or unmasked SQL literals remain in the XML.
System export
Tableau dataset
The workbook file states each metric and each chart as text
A Tableau workbook saved as .twb is an XML document, and a .twbx is a zip archive with that document inside. Every field is a column element with the caption analysts see, an internal name, a datatype and a role. A calculated field is a column with a calculation child whose formula attribute holds the expression in Tableau's own calculation language. Level of detail expressions sit in that attribute too, so the grain of a metric is written down: a FIXED expression names the dimensions it computes over. Parameters live in a data source of their own, named Parameters, with their current value and allowed range or list.
The chart is spelled out the same way. Each worksheet element lists the fields it depends on, what sits on the Rows and Columns shelves, the mark class, and the fields placed on Color, Size, Text and Detail. Shelf entries are written in a compact notation such as [sum:Open Amount:qk] or [yr:Order Date:ok], which states the aggregation or date part applied and whether the result is nominal, ordinal or quantitative. A dashboard is a tree of zones that places worksheets, filter controls and text, and actions record which sheet filters which. A metric definition, the chart built on it and, in a packaged workbook, the rows behind both can be read together.
Three things limit that reading. Formulas usually refer to other calculations by internal names of the form [Calculation_ followed by digits], not by caption, so raw formula text is hard to follow until every reference is resolved. A file holds only its latest saved state, and earlier versions exist only where the Tableau Server or Tableau Cloud site kept revision history. And a workbook that connects to a published data source depends on that data source's own .tds file, where its calculated fields and groups are saved, so ask for that file and check on a sample whether those formulas can be read from the workbook alone.
An extract is the last refresh, and a live workbook holds no rows
A packaged workbook carries its extract as a .hyper file in the archive's Data folder, beside any local files such as spreadsheets that it reads. The extract is a snapshot from the last refresh. A full refresh replaces all of it. An incremental refresh adds the rows that a chosen column, such as a date or an increasing ID, marks as new, so an edit or deletion of an older row upstream stays out of the extract unless the refresh was set to redo a recent date range or a full refresh ran. An extract is also not always the source table. The author can add extract filters, aggregate measures to the visible dimensions, hide unused fields or take only the top rows, and the storage setting decides whether the file holds one table per logical table or one per physical table.
A workbook on a live connection holds no rows at all. It has the connection class, the server and database names, the tables or custom SQL it reads, and the view definitions from which Tableau generates queries at render time. Those generated queries are not stored in the file. A workbook downloaded from a site can also be saved without its extract, so the buyer should state whether data is required.
The extract can hold more than any viewer saw. User filters are evaluated for the signed-in viewer when a view is queried, so the file usually contains every region's rows, and columns never placed on a sheet can still be in it unless the author hid them before extracting. To test a sample, unzip a .twbx, open the .hyper file with the Tableau Hyper API and compare its columns and row count with the data source definition. Count formula references that did not resolve to a caption, and search the XML for server names, usernames and SQL literals that should have been removed.
What to check before licensing
- Have the buyer's counsel and the data owner read Salesforce's terms for Tableau on exported workbook files, extracts and API use.
- Open each .hyper extract and check its columns for personal and financial data that the dashboard's audience could see but a licensee should not, including fields no view displays.
- Search the .twb and .tds XML for server, database and username attributes, custom SQL and initial SQL, and ask how credentials embedded at publishing were removed.
- Ask for each extract's last refresh time, whether refreshes were full or incremental, and which extract filters, aggregation or row limits applied.
- Count the workbooks on live connections or published data sources, and confirm the matching .tds or .tdsx files are delivered with them.
- Check that internal calculation names are resolved to captions, and ask whether formula comments and field comments were kept or scrubbed.
- Ask which workbooks were in active use, with view counts from the site where it recorded them, and whether personal or sandbox projects are in scope.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What does a Tableau dataset contain?
It contains a business's workbook and data source files and what is defined inside them. Each workbook brings its worksheets, dashboards, filters, parameters and calculated fields, and each data source brings its tables, joins and custom SQL. Extracts are included only where the business can license the underlying data.
Does a Tableau workbook include the underlying data?
Only a packaged workbook does. A .twbx file can carry a .hyper extract, which is a snapshot from the last refresh, and copies of local files such as spreadsheets that the workbook reads. A .twb file, or any workbook on a live connection, holds the connection details and view definitions and no rows. Say in your request whether you need the data or only the definitions, since the two are licensed and prepared differently.
Can calculated fields be read without Tableau?
Yes. The .twb and .tds files are XML, and each calculated field's formula is plain text in an attribute, level of detail expressions included. The catch is that formulas usually refer to other calculations by internal names, not by the captions analysts see. Ask for references to be resolved to captions, and check a sample for names left unresolved.
Does Tableau keep a history of changes to a workbook?
Not in the file. A workbook file holds its latest saved state only. Tableau Server and Tableau Cloud can save a revision each time a workbook or data source is published, unless revision history was turned off for the site, so ask whether it was on and how many revisions remain. Extracts carry no history: each full refresh replaces the previous snapshot.
How are connection details and personal data handled?
Connection details are removed or replaced, and extract values are de-identified before delivery. Workbook and data source XML can name servers, databases and usernames and can contain custom SQL with literal values. Extracts can hold rows and columns that row-level rules hid from most viewers. The buyer should review a sample of both the XML and the extract, and confirm the method used.
Is SourceX affiliated with Salesforce?
Tableau is named to identify the system the records come from. That does not imply a partnership with or endorsement by Salesforce. The records belong to the business that runs Tableau, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Charts, tables and figures with source data
Rendered charts, tables and figures paired with source values, the chart specification and the text that cites them
- Power BI semantic models and reports
Semantic model and report definitions from chosen workspaces, with DAX, Power Query M and, where licensed, the imported tables
- Looker LookML models and dashboards
A LookML repository with its commit history, saved Looks and dashboards as query definitions, and optional System Activity history; no warehouse rows unless agreed
- Metabase questions and dashboards
Saved questions with titles, descriptions and queries, the models, dashboards and collections around them, revisions and an execution log; no query results
- SQL query logs paired with the business question
Analyst-run warehouse queries in session order, each with schema, run outcome and the paired business question
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.