Book Image

Tableau 10 Complete Reference

By : Joshua N. Milligan, Tristan Guillevin
Book Image

Tableau 10 Complete Reference

By: Joshua N. Milligan, Tristan Guillevin

Overview of this book

Graphical presentation of data enables us to easily understand complex data sets. Tableau 10 Complete Reference provides easy-to-follow recipes with several use cases and real-world business scenarios to get you up and running with Tableau 10. This Learning Path begins with the history of data visualization and its importance in today's businesses. You'll also be introduced to Tableau - how to connect, clean, and analyze data in this visual analytics software. Then, you'll learn how to apply what you've learned by creating some simple calculations in Tableau and using Table Calculations to help drive greater analysis from your data. Next, you'll explore different advanced chart types in Tableau. These chart types require you to have some understanding of the Tableau interface and understand basic calculations. You’ll study in detail all dashboard techniques and best practices. A number of recipes specifically for geospatial visualization, analytics, and data preparation are also covered. Last but not least, you'll learn about the power of storytelling through the creation of interactive dashboards in Tableau. Through this Learning Path, you will gain confidence and competence to analyze and communicate data and insights more efficiently and effectively by creating compelling interactive charts, dashboards, and stories in Tableau. This Learning Path includes content from the following Packt products: • Learning Tableau 10 - Second Edition by Joshua N. Milligan • Getting Started with Tableau 2018.x by Tristan Guillevin
Table of Contents (20 chapters)
Title Page
About Packt
Contributors
Preface
8
Deeper Analysis - Trends, Clustering, Distributions, and Forecasting
Index

Ad hoc calculations


Ad hoc calculations add calculated fields to shelves in a single view without adding fields to the data pane.

Let's say that you have a simple view, which shows the Price per Renter, as shown:

What if you want to quickly highlight any renters who had a contract of at least $2000? One option would be to create an ad hoc calculation. To do so, simply double-click on an empty area of the Columns, Rows, or Measure Values cards, or on the empty space of the Marks shelf, and then start typing the code for a calculation. In this example, we've double-clicked on the empty space on the Marks shelf:

Here, we've entered the code that will return True if the sum of Price is at least $2000 and False otherwise. Pressing Enter or clicking outside the text box will reveal a new ad hoc field that can be dragged and dropped anywhere within the view. Here, we've added it to the Color shelf:

The ad hoc field is only available within the view and does not show up in the data pane. You can double...