Popular Searches
Popular Course Categories
Popular Courses

Understanding the Data Source Page

Understanding the Data Source Page

Data Preparation and Management

Understanding the Data Source Page in Tableau

The Data Source page is an important part of Tableau Desktop where users connect to data, inspect records, organize tables, modify field properties, and prepare information for analysis. Before creating worksheets, charts, and dashboards, it is useful to understand how the Data Source page works and how its different sections help manage data.

Learn more: JustAcademy Tableau Training | Register for a Tableau Course Demo


1. What Is the Data Source Page?

The Data Source page is the workspace in Tableau where you configure how Tableau connects to and interprets your source data. It appears after you establish a data connection, and you can return to it by selecting the Data Source tab in an open workbook.

On this page, you can review your data, add tables, create relationships, join or union tables, rename fields, change data types, hide unnecessary fields, and make other adjustments before beginning visual analysis.

Example

Suppose you have an Excel file containing sales information with fields such as Order ID, Order Date, Customer Name, Region, Product, Sales, and Profit. You can use the Data Source page to check these columns, verify their data types, and prepare the dataset before creating a sales dashboard.

2. Why Is the Data Source Page Important?

  • Data inspection: View field names and sample records before analysis.
  • Data preparation: Identify and address basic data-quality issues.
  • Table organization: Add and organize tables from supported data sources.
  • Data combination: Connect related tables using relationships, joins, or unions.
  • Field management: Rename, hide, or adjust fields as required.
  • Data-type management: Ensure Tableau interprets dates, numbers, and text appropriately.
  • Connection management: Review the current connection and add other connections when supported.
  • Analysis readiness: Prepare a data source that can be used to build worksheets and dashboards.

3. How to Open the Data Source Page

Method 1: Connect to a new data source

  1. Open Tableau Desktop.
  2. On the Start page, locate the Connect pane.
  3. Select a data connector, such as Microsoft Excel or Text File.
  4. Choose your file or enter the required connection details.
  5. Select the relevant sheet or table.
  6. Tableau opens the Data Source page so you can review and configure the data.

Method 2: Open an existing data source

  1. Open an existing Tableau workbook.
  2. Locate the tabs at the bottom of the workbook window.
  3. Click the Data Source tab.
  4. Review the current connection, tables, fields, and data preview.
  5. Make any required changes before returning to your worksheets.

Note: The exact layout and available options can vary depending on the Tableau version and the type of data source.

4. Main Sections of the Data Source Page

The Data Source page generally contains four main areas: the left pane, canvas, data grid, and metadata grid. Their availability and appearance can vary for some connection types.

Section Purpose Common Uses
Left Pane Displays connection information and available tables or sheets. Review connections, browse tables, add connections.
Canvas Provides an area to organize tables and define how they relate. Create relationships, joins, and unions.
Data Grid Displays fields as columns and records as rows. Inspect values, rename fields, sort data, create calculations where supported.
Metadata Grid Displays information about fields, typically with one field per row. Review field properties, rename fields, hide fields.

5. Understanding the Left Pane

The left pane displays details about the connected data source. The information shown depends on the type of connection.

For file-based data sources

  • Displays the connected file name.
  • Shows available worksheets or tables in the file.
  • Helps you locate the table or sheet needed for analysis.

For relational database connections

  • Displays server or connection details.
  • Shows database, schema, or table information where applicable.
  • Allows additional connections to be added when supported.

Example

If you connect to an Excel workbook named Sales_Report.xlsx, the left pane can show the workbook and its available sheets, such as Orders, Customers, and Products.

6. Understanding the Canvas

The canvas is the area where you place tables and configure how Tableau uses them together. For many file-based and relational data sources, the canvas has two conceptual layers: the logical layer and the physical layer.

A. Logical Layer

The logical layer is the default view of the canvas. It allows you to create relationships between tables without immediately merging them into a single physical table.

Example: You can place an Orders table and a Customers table on the logical canvas and relate them using Customer ID.

B. Physical Layer

The physical layer lets you define joins and unions between tables within a logical table. To access it, double-click a logical table on the canvas.

Example: You can join Orders and Order Details using Order ID when the data structure and intended analysis require a physical join.

Logical Layer vs. Physical Layer

Feature Logical Layer Physical Layer
Main purpose Defines relationships between logical tables. Defines joins and unions within a logical table.
How to access Shown by default for many supported data sources. Double-click a logical table.
Data handling Tables remain separate in the logical model. Tables are combined according to the configured join or union.
Typical use Working with related tables that have different levels of detail. Building a single table from records or columns across tables.

7. Understanding the Data Grid

The data grid displays data as rows and columns. It helps you inspect the actual values stored in the selected table and review how fields appear before using them in a worksheet.

Common activities in the data grid

  • Review field names and sample records.
  • Inspect values for missing information or inconsistencies.
  • Rename fields where supported.
  • Sort records to make specific values easier to inspect.
  • Hide fields that are not needed for analysis.
  • Create calculations or aliases where supported.
  • Review the result of configured joins or unions in the physical layer.

The data grid commonly shows a preview of the first 1,000 rows. It is a preview, so do not assume that every record in a large dataset is visible at once. In the logical layer, the grid displays data for the selected table; in the physical layer, it displays the merged result of the configured joins or unions.

Example

Order ID Region Product Sales
1001 North Laptop 50000
1002 South Mobile 20000
1003 West Monitor 12000

By examining this grid, you can verify whether Order ID is recognized correctly, Region contains consistent labels, and Sales is stored as a numeric field.

8. Understanding the Metadata Grid

The metadata grid displays information about the fields in your data source, usually with one field per row. It is particularly useful when you need to manage many columns or review field properties.

Common activities

  • Review field names.
  • Rename fields to make them easier to understand.
  • Hide multiple fields that are not required.
  • Review field metadata and available properties.
  • Organize fields before using them in worksheets.

Example

Field Name Meaning Possible Action
Cust_ID Customer identifier Rename to Customer ID.
Ord_Date Order date Verify the Date data type.
Sales_Amt Sales amount Rename to Sales and verify numeric type.
Internal_Notes Internal notes field Hide it if it is not needed for analysis.

Hiding a field from Tableau's view does not necessarily delete it from the original file or database.

9. Working with Tables and Sheets

After connecting to a file or database, you can select tables or sheets and place them on the canvas. The available options depend on the connector and the data source.

Steps to add a table

  1. Open the Data Source page.
  2. Locate the required table or worksheet in the left pane.
  3. Drag the table onto the canvas.
  4. Review the data grid to confirm that the expected fields and records appear.
  5. Add additional tables if required.
  6. Configure relationships, joins, or unions according to the intended analysis.

10. Understanding Relationships

A relationship connects logical tables through matching fields while allowing Tableau to determine how to combine data for a particular view. Relationships are the default method for combining tables in many modern Tableau data models.

Example

An Orders table contains Order ID, Customer ID, and Sales. A Customers table contains Customer ID, Customer Name, and City. A relationship using Customer ID allows Tableau to analyze orders alongside customer information.

General steps

  1. Drag the first table onto the logical canvas.
  2. Drag the second table onto the canvas near the first table.
  3. When prompted, review or edit the relationship fields.
  4. Choose the appropriate matching fields, such as Customer ID.
  5. Validate the resulting analysis using known records and totals.

Do not assume that similarly named fields always represent the same information. Verify the meaning and quality of the keys before creating a relationship.

11. Understanding Joins and Unions

Joins

A join combines columns from two or more tables based on a matching condition. Depending on the join type and matching records, it can retain or exclude rows from either table.

Join Type General Meaning
Inner Join Returns records with matching keys in both tables.
Left Join Returns all records from the left table and matching records from the right table.
Right Join Returns all records from the right table and matching records from the left table.
Full Outer Join Returns records from both tables, matching them where possible.

Unions

A union appends rows from similarly structured tables. For example, sales data from January and February can be combined into a single table when the columns are compatible.

Join vs. Union

Feature Join Union
Combination direction Typically combines columns. Typically appends rows.
Matching requirement Uses a matching condition or key. Uses compatible column structures.
Example Orders combined with Customer Details. January Sales appended to February Sales.

12. Changing Field Names and Data Types

The Data Source page lets you adjust field names and data types so that your data is easier to interpret and use in analysis.

Renaming a field

  1. Locate the field in the data grid or metadata grid.
  2. Open the field's menu or edit its name where supported.
  3. Enter a clear and descriptive name.
  4. Confirm that the new name accurately describes the data.

Changing a data type

  1. Locate the field you want to modify.
  2. Click its data type icon or open its field menu.
  3. Select the appropriate type, such as String, Number, Date, or Date & Time.
  4. Review the values to check that they were interpreted correctly.
Field Expected Type Reason
Customer Name String Contains text.
Sales Number Supports numeric aggregation.
Order Date Date Supports date-based analysis.
Quantity Integer Represents a whole-number count.

13. Live and Extract Connections on the Data Source Page

Tableau supports different ways to access data, including live connections and extracts. The options available depend on the connector and Tableau product.

Feature Live Connection Extract
How data is accessed Queries the connected source as needed. Uses a stored snapshot of data.
Data freshness Depends on the source and when queries run. Depends on the most recent extract refresh.
Typical benefit Can reflect recent source changes without refreshing an extract. Can support performance and offline or portable analysis scenarios.
Important consideration Performance depends on the source system and query workload. Data can become outdated if the extract is not refreshed.

When an extract is used, the Data Source page may provide a refresh option near the connection area. Follow the refresh options available for your specific source and environment.

14. Practical Example: Prepare a Sales Data Source

Objective: Use the Data Source page to inspect and prepare a sample sales dataset before creating a visualization.

Sample data

Order ID Order Date Region Product Sales
1001 2026-01-05 North Laptop 50000
1002 2026-01-10 north Mobile 20000
1003 2026-02-12 South Tablet 15000
1004 2026-02-15 West Monitor 12000

Steps to complete the exercise

  1. Save the sample data in an Excel or CSV file.
  2. Open Tableau Desktop and connect to the file.
  3. Review the file name and selected table in the left pane.
  4. Inspect the field names and records in the data grid.
  5. Verify that Order Date is a date and Sales is numeric.
  6. Investigate whether North and north should be standardized as the same region.
  7. Rename unclear fields if necessary.
  8. Confirm that all expected records are present.
  9. Open a worksheet and create a bar chart with Region and Sales.
  10. Check the chart against the prepared data to verify the totals.

Expected outcome

You will understand how to navigate the Data Source page, inspect a dataset, review field properties, and prepare data for a basic Tableau visualization.

15. Common Problems and Solutions

Problem Possible Cause Suggested Solution
Expected table is not visible. Wrong file, database, schema, or sheet selected. Review the connection and browse the available tables or sheets.
Numbers are treated as text. Incorrect type detection or invalid characters. Inspect the values and correct the field's data type where appropriate.
Dates appear incorrectly. Inconsistent date formats or incorrect type detection. Verify the source format and convert the field to the correct date type.
Totals change after joining tables. Duplicate keys or an unsuitable join condition. Check the join keys, row counts, and expected totals.
Data grid does not show all records. The grid displays a preview rather than the entire dataset at once. Remember the preview limitation and validate the full dataset using appropriate checks.
A field is not available for a particular action. The data source type or connection mode may not support that action. Review the connector's supported features and available Tableau options.

16. Best Practices for Using the Data Source Page

  • Inspect the dataset before creating worksheets or dashboards.
  • Use descriptive field names that business users can understand.
  • Verify data types before using fields in calculations.
  • Choose relationships, joins, or unions based on the structure and purpose of the data.
  • Check for duplicate keys and unexpected changes in record counts.
  • Investigate missing values and inconsistent categories.
  • Keep the source data unchanged when possible so you can compare results.
  • Review the result of each important data-source modification.
  • Use extracts and refresh options appropriately for your reporting needs.
  • For extensive, repeatable cleaning workflows, consider Tableau Prep Builder.

17. Interview Questions and Answers

Q1. What is the Data Source page in Tableau?

The Data Source page is the workspace used to connect to, inspect, organize, and prepare data before building visualizations.

Q2. What are the main areas of the Data Source page?

The main areas are the left pane, canvas, data grid, and metadata grid, although the layout can vary depending on the data source.

Q3. What is the purpose of the left pane?

The left pane displays connection details and available tables or sheets, and it can provide options for adding connections.

Q4. What is the purpose of the canvas?

The canvas is used to organize tables and define how they are related or combined.

Q5. What is the difference between the logical and physical layers?

The logical layer defines relationships between tables. The physical layer defines joins and unions within a logical table.

Q6. What is the data grid?

The data grid displays fields and data values so that users can inspect and make supported adjustments to their data source.

Q7. What is the metadata grid?

The metadata grid lists fields as rows and supports field-level tasks such as renaming and hiding fields.

Q8. Can I change field names and data types on the Data Source page?

Yes. Tableau supports renaming fields and changing data types for supported data sources.

Q9. What is the difference between a relationship and a join?

A relationship connects logical tables while preserving their separate structure. A join physically combines tables according to a matching condition.

Q10. Why should data be checked before creating a dashboard?

Checking data helps identify missing values, incorrect data types, duplicate records, and other issues that could lead to misleading visualizations.

18. Revision Checklist

  • Understand the purpose of the Data Source page.
  • Know how to open it for a new or existing data source.
  • Identify the left pane, canvas, data grid, and metadata grid.
  • Understand the logical and physical layers.
  • Know how to add tables or sheets to the canvas.
  • Understand relationships, joins, and unions.
  • Review field names and data types.
  • Understand live connections and extracts.
  • Validate data after making changes.
  • Know when Tableau Prep may be useful.

19. Useful Learning Resources

Conclusion

The Data Source page is the foundation for preparing data in Tableau. By understanding the left pane, canvas, data grid, and metadata grid, you can organize tables, manage field properties, configure data relationships, and inspect your records before creating visualizations. Careful preparation and validation help make your Tableau worksheets and dashboards more accurate and reliable.

Continue learning with JustAcademy Tableau Training or Register for a Tableau Course Demo.

whatsapp