Book Image

Getting Started with Tableau 2018.x

By : Tristan Guillevin
Book Image

Getting Started with Tableau 2018.x

By: Tristan Guillevin

Overview of this book

Tableau is one of the leading business intelligence tools used worldwide, in organizations of every scale. In its latest release, Tableau 2018 promises richer and more useful features related to visual analytics, reporting, dashboarding, and a host of other data visualization aspects. Getting Started with Tableau 2018.x will get you up and running with these features. The book starts with all the new functionalities of the different Tableau 2018 versions, along with concrete examples of how to use them. However, if you're new to Tableau, don't worry! The rest of the book will guide you through each major aspect of Tableau with examples. You'll learn how to connect to data, build a data source, visualize your data, build a dashboard, and share it online. In the final chapters, you'll also learn advanced techniques such as creating a cross-database join, data blending, and more. By the end of the book, you will have a firm understanding of how to effectively use Tableau to create quick, cost-effective, and business-efficient business intelligence solutions.
Table of Contents (21 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Free Chapter
1
Catching Up with Tableau 2018
Index

Union your data


If a Join adds columns, a Union adds lines.

Unions are useful when you have two (or more) tables with an identical structure that you want to combine to create a unique Data Source.

The typical use case is when you receive an Excel file with one sheet per year, and you need to compare those years. To do that, you need to combine those different sheets into a single Data Source. You can, of course, spend some time copying and pasting the data into a new, big Excel file, but with Tableau and Unions, you can combine them in a few clicks.

Note

To create useful Unions, the different tables must contain the same column names. Otherwise, Tableau will not consider them identical and will create new columns.

Let's start with an example.

A Union example

For this example, I created an Excel file with two sheets to Union.

Note

If you want to reproduce the example, you can download the Union example file from my website, book.ladataviz.com, in the section Chapter 4: Connect To Data and Simple...