๐ Tableau Learning Roadmap โ Part 2
Connecting to Data
Before creating visualizations in Tableau, you need to connect Tableau to a data source. Tableau can work with data stored in files, databases, cloud platforms, and other supported sources.
1. Excel
Tableau can connect directly to Excel files such as:
Sales_Data.xlsx
For example:
Order Date | Product | Region | Sales
Jan 2026 | Laptop | East | 50000
Feb 2026 | Monitor | West | 30000
You can select the required worksheet and begin analyzing the data.
2. CSV and Text Files
Tableau can also connect to:
โข CSV files
โข Text files
โข Delimited files
These are commonly used when data is exported from another application.
3. Databases
Tableau can connect to many database systems, including:
โข SQL Server
โข MySQL
โข PostgreSQL
โข Oracle
โข Snowflake
โข Databricks
Instead of manually exporting database data into Excel, Tableau can connect to the database directly.
4. Cloud Data Sources
Modern organizations often store their data in cloud platforms. Tableau supports connections to various cloud data platforms and services. This allows organizations to analyze centrally stored data without repeatedly downloading files.
5. Web Data
Depending on the connector and setup, Tableau can also work with web-based data sources and supported online services.
The important idea is:
Tableau โ Data Source โ Analysis โ Visualization
Live Connection vs Extract
This is one of the most important concepts in Tableau.
๐ต Live Connection
With a Live connection, Tableau queries the underlying data source when it needs data.
Example: Tableau โ SQL Server
When you interact with a visualization, Tableau can send queries to SQL Server and retrieve the required results.
๐ข Extract
An Extract is a snapshot of data stored in Tableau's optimized extract format.
Example: Database โ Tableau Extract โ Tableau
Instead of querying the original database for every interaction, Tableau can use the extracted data.
Live vs Extract
Live
โข Queries the original source
โข Data can reflect changes in the source
โข Performance depends partly on the underlying source and connection
Extract
โข Stores a copy of the data
โข Can provide faster analysis in many scenarios
โข Requires refreshes when the source data changes
The choice depends on factors such as:
โข Data size
โข Data freshness requirements
โข Database performance
โข Network conditions
โข Refresh requirements
Data Source Filters
A data source filter restricts the data available from a particular data source.
For example, suppose your dataset contains sales from: India + USA + UK + Germany
You could apply a data source filter to keep only: India + USA
This can reduce the amount of data available for analysis.
Data Source Properties
When connecting to data, Tableau provides settings that affect how the data is interpreted and used.
Depending on the source, you may work with things such as:
โข Field names
โข Data types
โข Connection information
โข Extract settings
โข Filters
โข Metadata
Correctly configuring your data source is important because problems at this stage can affect everything you build later.
๐ Simple Example
Imagine you receive a company's Sales.xlsx file. Your workflow could be:
Sales.xlsx โ Connect Tableau โ Select Sales sheet โ Check field names and data types โ Apply required data source filters โ Choose Live or Extract โ Start building visualizations
๐ฏ Double Tap โค๏ธ For More
Post #2453
804
- โค 4
- ๐ 1