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

An overview of table calculations

Table calculations are different from all other calculations in Tableau. Row-level, aggregate calculations, and LOD expressions, which we explored in the previous chapters, are performed as part of the query to the data source. If you were to examine the queries sent to the data source by Tableau, you'd find the code for your calculations translated into whatever implementation of SQL the data source used.

Table calculations, on the other hand, are performed after the initial query. Here's a diagram that demonstrates how aggregated results are stored in Tableau's cache:

Figure 6.1: Table calculations are computed in Tableau's cache of aggregated data

Table calculations are performed on the aggregate table of data in Tableau's cache right before the data visualization is rendered. As we'll see, this is important to understand for multiple reasons, including the following:

  • Aggregation: Table...