Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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 2. Advanced Charts FREE CHAPTER 3. Interactivity 4. Dashboards and Story Points 5. Maps and Geospatial Visualization 6. Analytics 7. Data Preparation A. Calculated Fields Primer B. Resources Index

Comparing one to everything else

In this recipe, we will create a bar chart that shows how much more or less other athletes earned compared to a selected athlete.

Comparing one to everything else

Getting ready

To follow this recipe, open B05527_03 – STARTER.twbx. Use the worksheet called Compare one against everything else and connect to the Top Athlete Salaries (Global Sport Finances) data source.

Getting ready

How to do it...

The following are the steps to create a chart that allows a selected item to be compared with all other items in the view:

  1. Right-click the arrow beside the Dimensions section in the sidebar, and select Create Parameter.
  2. Create a string parameter called Compare salary with the following settings:
    How to do it...
  3. Click on the Add from Field button, choose the data source Top Athlete Salaries (Global Sport Finances), and then select Athlete.
    How to do it...
  4. Click on OK when done.
  5. Show the parameter control for Compare salary with. You can do this by right-clicking on the parameter, and selecting Show Parameter Control.
  6. Create a calculated field called...
lock icon The rest of the chapter is locked
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
Banner background image