Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tableau 10 Business Intelligence Cookbook

You're reading from   Tableau 10 Business Intelligence Cookbook Create powerful, effective visualizations with Tableau 10

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781786465634
Length 476 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Donabel Santos Donabel Santos
Author Profile Icon Donabel Santos
Donabel Santos
Paul Banoub Paul Banoub
Author Profile Icon Paul Banoub
Paul Banoub
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Basic Charts FREE CHAPTER 2. Advanced Charts 3. Interactivity 4. Dashboards and Story Points 5. Maps and Geospatial Visualization 6. Analytics 7. Data Preparation A. Calculated Fields Primer B. Resources Index

Creating a highlight table

Highlight tables represent tabular information in a color-coded grid. The background color of the individual cells corresponds to the relative magnitude of the value it represents. Highlight tables are great when displaying the actual numeric values are important, but you also want the visual emphasis by adding the background colors on the cells.

In this recipe, we will modify the text table created in the Creating a text table (crosstab) recipe to create a text table with colored background, based on a film's worldwide gross amount:

Creating a highlight table

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Highlight Table, and connect to the HollywoodMostProfitableStories data source.

Getting ready

In addition, this recipe requires the text table in the Creating a text table (Crosstab) recipe to be created. This text table is the starting point of this recipe.

How to do it...

The following are the steps to creating a highlight table:

  1. If you haven't already done so, follow the steps in the recipe Creating a text table (crosstab) to create the starting text table.
  2. From Measures, drag Worldwide Gross Amount to Color in the Marks card.
  3. Change the mark in the Marks card to Square.
  4. Click on the drop-down arrow beside the color legend and choose Edit colors….
  5. Choose the Orange-Blue Light Diverging palette. Select the Stepped Color, and specify 5 steps.
    How to do it...
  6. Click on the drop-down arrow beside the color legend and choose Edit title….
  7. Edit the title of the color legend to display Worldwide Gross.

How it works...

You might like the heat map because it emphasizes the items that have the darkest or lightest colors, but don't like the fact that it doesn't have the numbers.

How it works...

You might like text tables, but it requires that you look at the numbers closely and focus before you can make sense of it.

How it works...

You're in luck, you can create a hybrid table. You can have the text table, and color the grids according to your selected measure. This hybrid table is called the highlight table.

There is a trick to creating highlight tables in Tableau. The first is to create a text table. See the Creating a text table recipe in this chapter for the steps. Once you have the text table, you can drop a measure onto Colors in the Marks card. This colors your text table with a gradient of colors, which honestly will make your text table very hard to read.

How it works...

Once your table already has the gradient-colored text, the final step is to change the mark to a Square. This is the magic sauce that creates your highlight table.

See also

  • Please refer to the Creating a text table recipe in this chapter
You have been reading a chapter from
Tableau 10 Business Intelligence Cookbook
Published in: Nov 2016
Publisher: Packt
ISBN-13: 9781786465634
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime