Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tableau 2019.x Cookbook

You're reading from   Tableau 2019.x Cookbook Over 115 recipes to build end-to-end analytical solutions using Tableau

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789533385
Length 670 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (6):
Arrow left icon
Tania Lincoln Tania Lincoln
Author Profile Icon Tania Lincoln
Tania Lincoln
Slaven Bogdanovic Slaven Bogdanovic
Author Profile Icon Slaven Bogdanovic
Slaven Bogdanovic
Teodora Matic Teodora Matic
Author Profile Icon Teodora Matic
Teodora Matic
Rintaro Sugimura Rintaro Sugimura
Author Profile Icon Rintaro Sugimura
Rintaro Sugimura
Dmitry Anoshin Dmitry Anoshin
Author Profile Icon Dmitry Anoshin
Dmitry Anoshin
Dmitrii Shirokov Dmitrii Shirokov
Author Profile Icon Dmitrii Shirokov
Dmitrii Shirokov
+2 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Getting Started with Tableau Software FREE CHAPTER 2. Data Manipulation 3. Tableau Extracts 4. Tableau Desktop Advanced Calculations 5. Tableau Desktop Advanced Filtering 6. Building Dashboards 7. Telling a Story with Tableau 8. Tableau Visualization 9. Tableau Advanced Visualization 10. Tableau for Big Data 11. Forecasting with Tableau 12. Advanced Analytics with Tableau 13. Deploy Tableau Server 14. Tableau Troubleshooting 15. Preparing Data for Analysis with Tableau Prep 16. ETL Best Practices for Tableau 17. Other Books You May Enjoy

Connecting to the data

In this recipe, we will go through the basics of connecting to a data source. The first step you must take when you open Tableau, before you create any visualizations, is to connect to a data source. You will then use that data source to create your views and dashboards.

Getting ready

In this recipe, we will be using the Baby_names.csv dataset. Make sure that you have a local copy of the dataset saved to your device.

How to do it...

  1. Open Tableau.
  2. From the Connect pane on the left-hand side, choose the Text file option:
  1. A new window will open. Navigate to your local copy of the Baby_names.csv dataset, select it, and click Open.
  2. Tableau has now opened the Data Source page for you, where the file you loaded has been selected as the data source, and where you can also preview it.
  3. To begin making your first visualization, just click on the Sheet 1 tab in the bottom of the workbook.

You are all set!

How it works...

Tableau reads the file you connected to and recognizes fields and their respective data types. There are the following data types in Tableau:

  • Number (decimal)
  • Number (whole)
  • Date and time
  • Date
  • String
  • Boolean

After you have connected to the data source and you click on Sheet 1, you will see the Data pane on the left-hand side of the workspace, with all the fields from the data source listed, and their respective types marked by small symbols to the left of their names, as shown in the following screenshot:

The globe symbols in front of State, Longitude, and Latitude denotes the geographical roles of these fields, which are important when building maps. On the other hand, the Abc symbol signifies strings, while the # symbol denotes numerical values.

There's more...

Tableau allows users to connect to a wide range of data. You can connect to different types of files that are stored locally on your device, or data stored on the cloud or in relational or multidimensional databases. You can connect to the list of data that is available on the Start page, which opens when you launch Tableau Desktop, under Connect.

See also

You have been reading a chapter from
Tableau 2019.x Cookbook
Published in: Jan 2019
Publisher: Packt
ISBN-13: 9781789533385
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image