Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Tableau 2019.x Cookbook
Tableau 2019.x Cookbook

Tableau 2019.x Cookbook: Over 115 recipes to build end-to-end analytical solutions using Tableau

Arrow left icon
Profile Icon Rintaro Sugimura Profile Icon Dmitry Anoshin Profile Icon Shirokov Profile Icon Lincoln Profile Icon Bogdanovic Profile Icon Matic +2 more Show less
Arrow right icon
£16.99 per month
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (5 Ratings)
Paperback Jan 2019 670 pages 1st Edition
eBook
£17.99 £26.99
Paperback
£32.99
Subscription
Free Trial
Renews at £16.99p/m
Arrow left icon
Profile Icon Rintaro Sugimura Profile Icon Dmitry Anoshin Profile Icon Shirokov Profile Icon Lincoln Profile Icon Bogdanovic Profile Icon Matic +2 more Show less
Arrow right icon
£16.99 per month
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (5 Ratings)
Paperback Jan 2019 670 pages 1st Edition
eBook
£17.99 £26.99
Paperback
£32.99
Subscription
Free Trial
Renews at £16.99p/m
eBook
£17.99 £26.99
Paperback
£32.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. £16.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Tableau 2019.x Cookbook

Data Manipulation

In this chapter, we'll cover the following topics:

  • Joining data sources
  • Adding a secondary data source
  • Data blending
  • Data union
  • Using Tableau Pivot
  • Preparing data

Technical requirements

To follow the recipes outlined in this chapter, you'll need to have Tableau 2019.x installed. You'll also need to download and save the datasets associated with this chapter to your device:

Introduction

Before doing any work in Tableau, we must first connect to the data we'll be working on. In the first recipe in this book, Connecting to data, we learned how to connect to a data source. In this chapter, we'll build on that knowledge to become more skillful at manipulating, joining, unioning, and transforming data sources. In the last recipe of this chapter, Preparing data, we'll also address the topic of data preparation and getting our data ready for visualizing and further analysis.

In this chapter, we'll be using multiple datasets. In the first recipe, Joining data sources, we'll be using two datasets, Public_Schools_1.csv and Public_Schools_2.csv, which contain data on Boston public schools for the school year 2018/2019. The dataset originally comes from Kaggle's official site. In the Adding a secondary data source and Data blending...

Joining data sources

The data we are working in is often contained in multiple tables. We can create a single, virtual table out of multiple original tables by joining them using common fields or keys. The result is a wider table that contains columns originating from different tables. The rows are matched by the values of the column, key, and fields.

Getting ready

In this recipe, we'll be using two datasets, Public_Schools_1.csv and Public_Schools_2.csv. Make sure you have both datasets saved to your device.

How to do it...

  1. Upon opening Tableau, from the Connect...

Adding a secondary data source

When creating a workbook, or a dashboard, we often have multiple data sources that're relevant for the topic and want to include the data from all of them. However, we might not want to join them—we just want to include all of the visualizations that come from unrelated data sources in the same workbook or dashboard. We can easily do that by simply adding data sources to our workbook. Let's see how.

Getting ready

In this recipe, we'll be using two datasets, Internet_satisfaction.csv and Internet_usage.csv, as data sources. Make sure you have them both saved to your device.

How...

Data blending

Sometimes, our data sources might not be suitable for joining for multiple reasons. For example, they might be on different levels of aggregation, resulting in duplicates upon joining, or you might wish to use data source types that don't support cross-database joins, such as Google Analytics. But, we also want to make visualizations that contain fields from different data sources. That's when data blending comes in handy—it allows us to make a connection between data sources when joining isn't appropriate or possible.

Getting ready

Follow the steps from the previous recipe, Adding a secondary data source, to connect to the Internet_satisfaction.csv and Internet_usage.csv data sources.

...

Data union

Tableau data union functionality allows us to merge multiple tables by appending the rows of one table to another.

Getting ready

In this recipe, we'll be using the Bread_basket_by_year.xlsx file, so make sure you have saved it to you device.

How to do it...

  1. Upon opening Tableau, from the Connect pane on the left-hand side, choose Microsoft Excel:
  1. When the Open window opens, navigate to your local copy of Bread_basket_by_year.xlsx, select it, and click Open.
  2. On the Data Source page, two tables contained within our data source, 2017 and 2018, appear....

Using Tableau Pivot

Sometimes, our data isn't organized in a format that's suitable for creating views we would like to produce. Tableau Pivot functionality offers an easy way to restructure our data into a format that might be more suited to our needs.

Getting ready

To perform the steps in this recipe, we'll be using the Internet_satisfaction_by_region.csv file as the data source. Make sure you have it saved to your device and connect to it.

How to do it...

  1. In the Data Source page, hold the Ctrl key and click on the header of all three fields in the data...

Preparing data

Once we have connected to our data, we want to start making visualizations. However, our data might need some more touch-ups before it's ready to produce some stunning charts. This recipe will cover some common steps we need to take upon importing a data source in order to prepare it for further analysis.

Getting ready

Throughout this recipe, we'll be using the Winery.csv dataset. Make sure you have it saved to your device and are connected to it.

How to do it...

The following short recipes will guide you through several steps you'll often...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Unique problem-solution approach to aid effective business decision-making
  • Create interactive dashboards and implement powerful business intelligence solutions
  • Includes best practices on using Tableau with modern cloud analytics services

Description

Tableau has been one of the most popular business intelligence solutions in recent times, thanks to its powerful and interactive data visualization capabilities. Tableau 2019.x Cookbook is full of useful recipes from industry experts, who will help you master Tableau skills and learn each aspect of Tableau's ecosystem. This book is enriched with features such as Tableau extracts, Tableau advanced calculations, geospatial analysis, and building dashboards. It will guide you with exciting data manipulation, storytelling, advanced filtering, expert visualization, and forecasting techniques using real-world examples. From basic functionalities of Tableau to complex deployment on Linux, you will cover it all. Moreover, you will learn advanced features of Tableau using R, Python, and various APIs. You will learn how to prepare data for analysis using the latest Tableau Prep. In the concluding chapters, you will learn how Tableau fits the modern world of analytics and works with modern data platforms such as Snowflake and Redshift. In addition, you will learn about the best practices of integrating Tableau with ETL using Matillion ETL. By the end of the book, you will be ready to tackle business intelligence challenges using Tableau's features.

Who is this book for?

Tableau 2019.x Cookbook is for data analysts, data engineers, BI developers, and users who are looking for quick solutions to common and not-so-common problems faced while using Tableau products. Put each recipe into practice by bringing the latest offerings of Tableau 2019.x to solve real-world analytics and business intelligence challenges. Some understanding of BI concepts and Tableau is required.

What you will learn

  • Understand the basic and advanced skills of Tableau Desktop
  • Implement best practices of visualization, dashboard, and storytelling
  • Learn advanced analytics with the use of build in statistics
  • Deploy the multi-node server on Linux and Windows
  • Use Tableau with big data sources such as Hadoop, Athena, and Spectrum
  • Cover Tableau built-in functions for forecasting using R packages
  • Combine, shape, and clean data for analysis using Tableau Prep
  • Extend Tableau's functionalities with REST API and R/Python

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 31, 2019
Length: 670 pages
Edition : 1st
Language : English
ISBN-13 : 9781789533385
Vendor :
Tableau
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. £16.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Jan 31, 2019
Length: 670 pages
Edition : 1st
Language : English
ISBN-13 : 9781789533385
Vendor :
Tableau
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£169.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£234.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 102.97
Tableau 2019.x Cookbook
£32.99
Learning Tableau 2019
£32.99
Mastering Tableau 2019.1
£36.99
Total £ 102.97 Stars icon

Table of Contents

17 Chapters
Getting Started with Tableau Software Chevron down icon Chevron up icon
Data Manipulation Chevron down icon Chevron up icon
Tableau Extracts Chevron down icon Chevron up icon
Tableau Desktop Advanced Calculations Chevron down icon Chevron up icon
Tableau Desktop Advanced Filtering Chevron down icon Chevron up icon
Building Dashboards Chevron down icon Chevron up icon
Telling a Story with Tableau Chevron down icon Chevron up icon
Tableau Visualization Chevron down icon Chevron up icon
Tableau Advanced Visualization Chevron down icon Chevron up icon
Tableau for Big Data Chevron down icon Chevron up icon
Forecasting with Tableau Chevron down icon Chevron up icon
Advanced Analytics with Tableau Chevron down icon Chevron up icon
Deploy Tableau Server Chevron down icon Chevron up icon
Tableau Troubleshooting Chevron down icon Chevron up icon
Preparing Data for Analysis with Tableau Prep Chevron down icon Chevron up icon
ETL Best Practices for Tableau Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4
(5 Ratings)
5 star 40%
4 star 20%
3 star 0%
2 star 20%
1 star 20%
Ken Mar 31, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Tableau is complex. Basics are pretty easy, but when you want to do something really interesting, like regression analysis, it's hard. The examples in the book are accessible, clear, and short. You won't find a deep interpretation of the recipes here, but for most of them, you don't need that. Particularly helpful were the examples integrating R and showing advanced visualizations. Overall, a solid and worthwhile book. Nice job!
Amazon Verified review Amazon
Upendra Singh Jul 21, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Good book with enough examples and explanations.
Amazon Verified review Amazon
Michelle Davis Mar 30, 2019
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Wonderful and handy to have
Amazon Verified review Amazon
Leon Kowalski Feb 20, 2020
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
This book, from PACKT, appears to be a professional handbook on the advanced application of Tableau. At 670 pages, and over £28.00 for the Kindle edition, one might expect an authoritative publication on Tableau. There are downloadable files to create all the examples and everything is presented in a logical manner.I have returned this book and gained a full refund as it was liberally padded with blank pages, provided only rudimentary examples on barely filled pages and was vastly inferior to the free and fully transcribed official tableau website video training.As a result of this purchase experience, and that of searching for authoritative, up to date, books about Tableau on Amazon, I have put in place several rules before considering to buy.1. Does the book allow 'Look inside'? If not, I'm not going to look into the book any further. To date, I have returned all technical references that I have bought that did not support 'Look Inside' as they have proved to be nothing more than cynical or basic guides for beginners.2. Was the book published or revised within the last year? Tableau release about 3 to 4 times a year. What is a credible solution a year ago, may well be a workaround for a new feature today; Dynamic parameters and buffering calculations for creating proximity analysis are cases in point for release 2020.1.With the price of kindle offering almost that of print, I'm not prepared to pay £20-30 a time on books that have no more than 2 years of usable life.3. Is the author known for their success at Tableau application. Whilst not an indication of quality contents in itself, when considered with the first two points, I find that this will help determine if buy the book or not.I have found that established industry specialists with a genuinely high reputation and high profile lecture acumen do write books that deliver on their promise; the O'Reilly range with Ray Sleeper (Practical Tableau 2018) is a good example.BOOK CONTENT AND USEFULNESS-----------------------------------------In practice, this book is very sparsely written and contains so many blank pages that I felt it had been deliberately ‘padded’ to appear more than it was. Due to the similarity in content, I felt that the book was, at best, a version of notes for the freely available official Tableau online training which I completed before looking for books on the advanced application of Tableau.Unlike the website, this book will not train the novice user in BI or Tableau best practice as the user merely repeats the steps presented. Also, this book is already dated where the website is constantly updated with the latest techniques for the latest release.As a BI consultant & developer, I am expected to deliver highly specialised analytical models and dashboards using the client preferred software solution. In preparation for my new project, I first reviewed the entire FREE training offered by the tableau website.QUALIFICATIONS--------------------If formal tableau qualification were required, and as a demonstration of the high level of quality available for free, it is my opinion that the website provides everything a user could need to prepare and qualify in two of the three recognised Tableau standards: Specialist ($100.00 exam) and Associate ($250.00 exam). The third standard is that of professional ($600.00 exam for 3-year certificate) which would require experience and time to achieve where the first two standards could be achieved in a week of dedicated study.TOPICS---------The book and website cover almost similar topics. However, the website is far more complete and fully covers the following:1. Tableau Prep builder2. Tableau Conductor3. Tableau Desktop (Calculations, maps, groups, sets, formatting, dashboard design, etc).4. Tableau Online5. Tableau Server & Online Deployment6. Tableau AdministrationUnlike the book, the website achieves its aim with over 11 hours of ‘how-to’ video, all fully transcribed and supported with a complete suite of the required example datasets and over 90 BI models for working along with plus over 70 finished working examples to verify your solutions against.REFUND REQUEST-----------------------After only 20 mins of reading, I requested a refund for my kindle purchase which Amazon carried out immediately. on the basis of this book, I will be cautious about purchasing any future PACKT offerings.Tableau is a great package with a rich and diverse community. I have since discovered all that I was looking for in youtube videos and forums, such as:1. Map analysis using distance.2. Creation of a product catalog with product to page and including associated images.3. TabPy - application of Python with Tableau4. Complex calculations for driving dynamic user interactive selections for comparison analysis.
Amazon Verified review Amazon
Amazon Customer Sep 23, 2019
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
The content is good but the quality of paper and print is not. I have ebook and wanted hard copy so I didn’t have to go back and forth to practice exercises. Ebook is color and although hard copy is $50 it is black and white. I do not think it is worth the price
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.