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
Getting Started with Tableau 2019.2

You're reading from   Getting Started with Tableau 2019.2 Effective data visualization and business intelligence with the new features of Tableau 2019.2

Arrow left icon
Product type Paperback
Published in Jun 2019
Publisher Packt
ISBN-13 9781838553067
Length 260 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Tristan Guillevin Tristan Guillevin
Author Profile Icon Tristan Guillevin
Tristan Guillevin
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Catching Up with Tableau 2019 FREE CHAPTER 2. The Tableau Core 3. Getting Started with Tableau Desktop 4. Connecting to Data and Simple Transformations 5. Building an Efficient Data Source 6. Design Insightful Visualizations 7. Powerful Dashboards, Stories, and Actions 8. Publishing and Interacting in Tableau Server 9. An Introduction to Calculations 10. Analytics and Parameters 11. Advanced Data Connections 12. Dealing with Security 13. How to Keep Growing Your Skills A. Other Books You May Enjoy Index

Creating a year-on-year comparator

To create a year-on-year comparator, you need to combine everything that we have seen previously: Calculated Field, Reference Line, and Parameter.

Your mission (if you accept it) is to build a visualization where you can see the profit by region of a selected year compared to the previous year with a Reference Line. The Color also helps you to quickly spot the regions where the profit is lower than in the previous year. Here's the final result:

Quite impressive, isn't it? Let's build it! Follow this tutorial to learn how to do this:

  1. Create a new Parameter and name it Select a year. Configure it as an Integer with a list of allowable values. The list is composed of four values: 2015, 2016, 2017, and 2018.
  2. If you want to make it perfect, you can change the display of the values to remove the thousand.
  3. Choose 2018 as the Current value.

    Your Parameter configuration window should look like this:

    Creating a year-on-year comparator
  4. Display your Parameter (right-click on it and select Show...
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 €18.99/month. Cancel anytime