Book Image

Learning Tableau 2020 - Fourth Edition

By : Joshua N. Milligan
Book Image

Learning Tableau 2020 - Fourth Edition

By: Joshua N. Milligan

Overview of this book

Learning Tableau strengthens your command on Tableau fundamentals and builds on advanced topics. The book starts by taking you through foundational principles of Tableau. We then demonstrate various types of connections and how to work with metadata. We teach you to use a wide variety of visualizations to analyze and communicate the data, and introduce you to calculations and parameters. We then take an in-depth look at level of detail (LOD) expressions and use them to solve complex data challenges. Up next, we show table calculations, how to extend and alter default visualizations, build an interactive dashboard, and master the art of telling stories with data. This Tableau book will introduce you to visual statistical analytics capabilities, create different types of visualizations and dynamic dashboards for rich user experiences. We then move on to maps and geospatial visualization, and the new Data Model capabilities introduced in Tableau 2020.2. You will further use Tableau Prep’s ability to clean and structure data and share the stories contained in your data. By the end of this book, you will be proficient in implementing the powerful features of Tableau 2020 for decision-making.
Table of Contents (19 chapters)
9
Visual Analytics – Trends, Clustering, Distributions, and Forecasting
17
Other Books You May Enjoy
18
Index

Row-level calculations

We'll walk through several examples of row-level calculations in this section. You'll find the completed calculations in the Complete workbook, but you might prefer to start from scratch in the Starter workbook. We won't necessarily cover creating a visualization for every example, but try building some of your own as you work through the examples.

Simple example

We'll start with a very simple example and then build up in complexity. In the Chapter 04 workbook, create a new calculated field called Full Name with the following code:

[First] + " " + [Last] 

This code concatenates the strings of First and Last with a space in-between them. Your calculation editor should look something like the following:

Figure 4.3: Creating the Full Name calculation in the editor

After clicking OK, you should notice a new Full Name field in the data pane. The value for that field is calculated per row of data. That is...