Connecting data in Tableau

Connecting data in Tableau

2 mins read503 Views Comment
Updated on Mar 20, 2022 19:17 IST

In this article, we discussed connecting data in tableau, how to connect files and servers to a tableau with steps on how to connect excel files, how to connect MySQL and the website in a Tableau.

2022_03_DATA-CONNECTION-IN-TABLEAU-1.jpg

Introduction

In this article, we will discuss connecting data in Tableau.

Before you can build a view and analyze the data, you must have to connect your data to Tableau. Tableau connects a wide variety of data, stored in a variety of places. Tableau connects with different data sources like Excel, JSON, PDF or database and servers like Tableau Server, MYSQL, Amazon Redshift etc.

There are two types of Data Sources that you may connect to Tableau:

  • To a File
  • To a server

Now, let’s discuss the steps of how to connect data sources in a Tableau.

Recommended online courses

Best-suited Tableau courses for you

Learn Tableau with these high-rated online courses

Free
3 hours
Free
21 hours
Free
5 hours
Free
– / –
39.54 K
2 hours
– / –
– / –
Free
19 hours
8.4 K
3 weeks
Free
2 hours
– / –
– / –
2022_03_data-connection-in-tableau.jpg

On the left side of the screen, you will get the option to connect (to a file or to a server)

Note: Above image is from Tableau Public.

Connecting to a File

Tableau offers to connect different types of files and get the data from files to your system.

It can connect with the files like Excel, Text, JSON, Access, PDF, Spatial, statistical and many more.

Now, we will show how to connect an excel file to Tableau

Steps to Connect Excel File in Tableau

1. Click on Microsoft Excel

2022_03_steps-to-connect-excel-in-tableau.jpg
2022_03_excel.jpg

3. It connects your excel file in Tableau

2022_03_excel-connector.jpg

In addition to this, we can add new data sources by clicking on add then selecting the type of file or the connector.

2022_03_add-a-connector-in-tableau.jpg

Similarly, you can connect all other different files to the tableau.

Connecting to a Server

Tableau offers countless options to connect to a server.

2022_03_connecting-to-a-server-in-tableau.jpg

Here is the list of different connectors:

  • Server-Based Relational Database: Tableau Server, MySQL, Oracle, MongoDB etc
  • In-memory Database: SAP HANA
  • Cloud-Based Data Source: GoogleCloud SQL, Amazon Aurora etc
  • Web-Based Data Source: Web Data Connector
  • Big Data Source: Google BigQuery

While connecting to these data sources, we need to provide some basic details like:

  • Server name
  • User name
  • Password (specific to that connection)

Now, we will show how to connect MySQL and the website to Tableau

Steps to Connect MYSQL in Tableau

1. Click on MySQL (under To a Server)

2022_03_Steps-to-Connect-MYSQL-in-Tableau.jpg

2. Connection will appear

3. Enter the username, password (if required you can edit the port)

Steps to Connect to the website in Tableau

Tableau can connect to the website using Tableau Data Connector.

1. Click on the More option (under To a Server)

2. Select Web Data Connector

2022_03_Steps-to-Connect-to-the-website-in-Tableau.jpg

3. Tableau Web Data Connector window appears

4. Enter the web data connector URL

2022_03_web-data-connector.jpg

Conclusion

In this article, we discussed connecting data in tableau, how to connect files and servers to a tableau with steps on how to connect excel files, how to connect MySQL and the website in a Tableau.

Hope this article will help you in your data analyst journey.

This article is a part of a complete tutorial of Tableau, focusing on Tableau certified data analysts and tableau desktop specialists. 

Through a series of articles, we will cover all the topics in-depth with examples.

Data Aggregation in Tableau
Data Aggregation in Tableau
In this article, we discussed different aggregation functions in tableau, how to change the aggregation of a measure in a view and how to disaggregate the data. In this article,...read more
Data Types in Tableau
Data Types in Tableau
Tableau supports 7 types of data types String values, Date values, Date & Time values, Numeric values, Boolean values, Geographical values, Cluster or mixed values. Tableau supports 7 types of...read more
File Types in Tableau
File Types in Tableau
In this article, we discussed different file types in tableau like workbooks, bookmarks, extract and data source which are used to meet different business purposes.
About the Author