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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Creating Data Stories with Tableau Public

You're reading from   Creating Data Stories with Tableau Public Illustrate your data in a more interactive and interesting way using Tableau Public

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781849694766
Length 218 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Tableau Public 2. Tableau Public Interface Features FREE CHAPTER 3. Connecting to Data 4. Visualization – Tips and Types 5. Calculations 6. Level of Detail and Table Calculations 7. Dashboard Design and Styling 8. Filters and Actions 9. Publishing Your Work Index

Compute using


The graph from the previous exercise calculates the percentage difference from year to year, which means that the value for each year is being computed relative to the previous year. We can ask Tableau Public to calculate the percentage difference from different years by clicking on the Context menu for a table calculation of this type, and then selecting Relative to. We can calculate the change from the first, next, previous (the default one), or last values in a partition.

In the following graph, which is a revision of the previous one, the bar height for each year shows the aggregated percentage difference in Remittances per Capita since 1980, which is the first year in the visualization. You can do this by performing the following steps:

  1. Click on the Context menu for the Remittances per Capita field on the Rows shelf.

  2. Click on Relative to.

  3. Select First, as shown in the following screenshot:

Then, perform the same calculation on GDP (current USD). We changed its use on the Rows...

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