Book Image

Mastering Tableau 2023 - Fourth Edition

By : Marleen Meier
Book Image

Mastering Tableau 2023 - Fourth Edition

By: Marleen Meier

Overview of this book

This edition of the bestselling Tableau guide will teach you how to leverage Tableau's newest features and offerings in various paradigms of the BI domain. Updated with fresh topics, including the newest features in Tableau Server, Prep, and Desktop, as well as up-to-date examples, this book will take you from mastering essential Tableau concepts to advance functionalities. A chapter on data governance has also been added. Throughout this book, you'll learn how to use Tableau Hyper files and Prep Builder to easily perform data preparation and handling, as well as complex joins, spatial joins, unions, and data blending tasks using practical examples. You'll also get to grips with executing data densification and explore other expert-level examples to help you with calculations, mapping, and visual design using Tableau extensions. Later chapters will teach you all about improving dashboard performance, connecting to Tableau Server, and understanding data visualization with examples. Finally, you'll cover advanced use cases, such as self-service analysis, time series analysis, geo-spatial analysis, and how to connect Tableau to Python and R to implement programming functionalities within Tableau. By the end of this book, you'll have mastered Tableau 2023 and be able to tackle common and advanced challenges in the BI domain.
Table of Contents (19 chapters)
17
Other Books You May Enjoy
18
Index

Building a map of intersections

I continue by opening the violations dataset in Tableau:

  1. Longitude and latitude values are not automatically recognized, so I have to change both to Number (decimal) by clicking on the data type icon:

Figure 12.41: Change data type

  1. Then, I change the Longitude and Latitude fields to Measure by clicking on the drop-down arrow on the field as shown in the preceding figure and selecting Convert to Measure.
  2. Now I can click on the data type icon again and change the two fields to Latitude and Longitude:

Figure 12.42: Changing the geographic role

  1. By dragging Longitude to Columns, Latitude to Rows, and Intersection to the Text shelf, I visualize the red-light locations—at least the ones that have ever had a violation:

Figure 12.43: Intersections in Chicago

  1. The name of the worksheet will be Intersection, and since I am looking at violations, I change the color...