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
Getting Started with Tableau 2018.x

You're reading from   Getting Started with Tableau 2018.x Get up and running with the new features of Tableau 2018 for impactful data visualization

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher Packt
ISBN-13 9781788838689
Length 396 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
David Pires David Pires
Author Profile Icon David Pires
David Pires
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 2018 FREE CHAPTER 2. The Tableau Core 3. A First Dashboard and Exploration 4. Connect to Data and Simple Transformations 5. Build an Efficient Data Source 6. Design Insightful Visualizations - Part 1 7. Design Insightful Visualizations - Part 2 8. Create Powerful Dashboards and Stories 9. Publish and Interact in Tableau Server 10. An Introduction to Calculations 11. Analytics and Parameters 12. Advanced Data Connections 13. Deal with Security 14. How to Keep Growing Your Skills 15. Other Books You May Enjoy

Creating a year-on-year comparator


To create a year-on-year comparator, you need to combine everything that we saw previously: Calculated FieldReference Line, and Parameter

Your mission (if you accept it) is to build a visualization where you can see the Sales by Sub-Categories of a selected year compared to the previous year with a Reference Line. Color also helps you to quickly spot the sub-categories where the sales are lower than the past year. Here's the final result: 

Quite impressive, isn't it? Let's build it! Follow the tutorial:

  1. Create a Parameter to choose the year. Configure it as an Integer with a List of allowable values. The list is composed of four values: 2015, 2016, 2017,  and 2018. You can, if you want to make it perfect, change the display of the values to remove the thousand separators (by modifying the display format or editing the Display As column). Name it Select a year, and choose 2018 as the current value.

Your Parameter configuration window should look like this...

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