String manipulation in dashboards

Annotations are useful for adding additional context to a data visualization. Data can be difficult to interpret without any context, and additional commentary can help to save the business user from having to find out additional information.

In this recipe, we will look at using calculated fields to amplify the message of the data and to automatically add new information to the annotations.

Getting ready

For the exercises in this recipe, we will build on the existing Chapter 6 dashboard. We don't need to add in any more data for now.

How to do it…

  1. Let's start by adding an annotation to the dashboard. Right-click on the square that we created near the Australia flag in the last recipe. In the pop-up menu, select

Get Tableau: Creating Interactive Data Visualizations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.