Ebook - Specialist Data Visualization
Ebook - Specialist Data Visualization
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
SPECIALIST
NF
TA
T
NO
CO
DA
DATA VISUALIZATION
DO
ND
RE
RT
BE
CY
Copyright and Document Information
Proprietary Notice
Proprietary Notice
The materials in this document are proprietary to PT CYBERTREND INTRABUANA (CBI). In accepting this
document, it is deemed that participant has agreed to abide by the confidentiality nature of this document.
The reproduction or distribution of any part of the enclosed information will not be allowed without prior
written permission of CBI. Any other parties other than approved user by CBI who review this document
will be deemed to have obtained CBI’s proprietary information without authorization and may be subject to
legal actions.
Disclaimer
This document is supplied in strict confidence and must not be produced in whole or in part, used in
tendering or for manufacturing purposes or given or communicated to any third party without the prior
consent of CBI.
AL
Y
EM
All right reserved © 2020.
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Contents
1. Introduction to Data Visualization .................................................................................................. 6
Introduction Data Visualization .......................................................................................................... 7
Understanding Data Visualization....................................................................................................... 7
Importance of Data Visualization........................................................................................................ 7
Who Use Data Visualization ................................................................................................................ 7
Traits of Good Data Visualization........................................................................................................ 8
Point of Excellence .............................................................................................................................. 8
Common Types of Data Visualization ................................................................................................. 9
Data Visualization vs Infographic .................................................................................................... 9
Infographic .................................................................................................................................... 10
Type of Infographic ................................................................................................................... 11
AL
Y
Dashboard ..................................................................................................................................... 14
EM
TI
AD
PY
EN
TA
Distinct Values........................................................................................................................... 15
DA
ND
Size ............................................................................................................................................ 18
CY
i
Fields on Shelves ........................................................................................................................... 24
Introduction to Web Authoring - Tableau Site ................................................................................. 25
User Capabilities ........................................................................................................................... 25
Feature Comparison...................................................................................................................... 26
General Difference in web authoring ....................................................................................... 26
Web Authoring Capabilities .......................................................................................................... 26
Data Management .................................................................................................................... 26
Analytics .................................................................................................................................... 27
Filtering and Sorting .................................................................................................................. 28
Formatting................................................................................................................................. 28
Tableau Server Site Interface ........................................................................................................ 28
Sign In ........................................................................................................................................ 29
AL
Y
Navigate Content ...................................................................................................................... 29
EM
TI
AD
PY
EN
TA
T
NO
DA
ii
Practice: Creating a Local Data Connection ...................................................................................... 52
4. Simplifying and Sorting your Data ................................................................................................ 54
Data Filtering..................................................................................................................................... 55
Filter on a Dimension .................................................................................................................... 55
Filter on a Dimension in Web........................................................................................................ 55
Filter on a Measure ....................................................................................................................... 56
Filter on a Measure in Web........................................................................................................... 56
Creating Date Filters ......................................................................................................................... 57
Creating Date Filter in Web............................................................................................................... 58
Practice: Filtering .............................................................................................................................. 59
Sorting ............................................................................................................................................... 60
Sort data on an axis....................................................................................................................... 60
AL
Y
Sort specific fields in the viz .......................................................................................................... 61
EM
TI
AD
PY
EN
TA
T
NO
DA
iii
Creating Dual Axis Charts .................................................................................................................. 84
Practice: Dual Axis Chart ................................................................................................................... 86
8. Showing the Relationship between Numerical Values ................................................................. 87
Showing Correlations and Outliers with Scatter Plots ...................................................................... 88
Practice: Marketing Expenses Scatter Plot ....................................................................................... 90
9. Mapping Data Geographically....................................................................................................... 91
Mapping in Tableau .......................................................................................................................... 92
Navigation and Selection in Maps .................................................................................................... 92
Practice: Geographic Mapping .......................................................................................................... 94
Creating Geographic Groups ............................................................................................................. 95
Practice: Creating Geographic Groups .............................................................................................. 97
10. Viewing Specific Values ............................................................................................................. 98
AL
Y
Creating Crosstabs ............................................................................................................................ 99
EM
TI
AD
PY
EN
TA
T
NO
DA
iv
Practice: Creating Tree Map ........................................................................................................... 123
14. Highlight Data with Reference Lines ....................................................................................... 124
Using Reference Lines ..................................................................................................................... 125
Reference Bands ............................................................................................................................. 126
Practice: Reference Lines ................................................................................................................ 128
15. Making Your Views Available .................................................................................................. 130
Dashboards ..................................................................................................................................... 131
Understanding the Connections between Dashboards and Worksheets ................................... 131
Edit the Original Worksheet........................................................................................................ 131
Duplicate a Worksheet................................................................................................................ 132
Hide a Worksheet ....................................................................................................................... 132
Tiled or Floating Objects ............................................................................................................. 132
AL
Y
Dashboard Device Layout ........................................................................................................... 132
EM
TI
AD
PY
EN
TA
T
NO
DA
ND
RE
RT
BE
CY
v
1. Introduction to Data Visualization
This module contains the following:
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
When you help people visualize the meaning of data, you add tremendous value to any organization.
In this course, we look at what data visualization is and what it means to different groups. When it
comes to gaining valuable insight in a company setting, the use of data visualization is critical.
Companies are desperate to view and learn from their Big Data. Data visualization, however, is a
growing field with a critical shortage of true experts. Big Data refers to the voluminous amounts of
information that can be collected from social media data as well as internal company data. Analyzing
and extracting insights from it is the goal. After reading this module, you’ll be able to help fill that role
for your company, whether you’re building your first data visualization or your hundredth one.
Y
Dummies)
EM
TI
Two of the most popular types of data visualizations are dashboards and infographics, both of which
AD
PY
use a combination of charts, text, and images to communicate the message of the data. The practice
EN
of transforming data into meaningful and useful information via some form of visualization or report
AC
CO
ID
TA
T
NO
CO
DA
ND
communicate their data stories. This practice, known as BI, is a multibillion-dollar industry. It continues
to grow exponentially as more companies seek ways to use their big data to gain valuable insight into
RE
With the recent popularity of social media and mobile apps, the amount of data that’s generated on
BE
a moment-to-moment basis is astounding. For this reason, many companies find that making sense of
that data requires the use of some form of data visualization. It’s virtually impossible to view 1 million
CY
This module focuses specifically on data visualizations that contain intelligent data (data that is
actionable) and that provide some value to a company by enabling a person or group of people to
make faster decisions based on that data.
In her book (Data Visualization for Dummies), she wrote that, once worked with a talented graphic-
design expert named Natasha Lloyd to deliver a well-received presentation called “How to Build a
Successful Business Intelligence Dashboard” at a major global conference. When she was asked what
she thought was important about creating visualizations, Natasha said her focus wasn’t on what was
pretty versus ugly; her focus was on the end-user experience. Table below shows the key items
discussed during the presentation. AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
Although these traits sound more like descriptions of a new car than descriptions of business data,
DA
focusing on these three traits for all your data visualizations should ensure that you produce
DO
something that’s not only great to look at but that also provides value and deep insight to those who
ND
use it.
RE
It is recommended to use it as a tool to measure every data visualization against, to ensure that you’re
RT
focusing on the most important items. Your main goal should be to develop a data visualization that
provides key insights to its users.
BE
CY
Point of Excellence
Before you move on to the basics of building your data visualization, you should have some idea of
what criteria make a data visualization excellent. An excellent data visualization has the following
qualities:
• Visual Appealing
The advent of more sophisticated visual creation tools and the high quality of mobile apps
have raised the bar very high on the user experience. It’s only going to get higher with the
evolution of technology such as Google Glass. Your visualization will go unused if it looks like
it was designed with old technology.
• Scalable
It’s a problem when users focus on the visual or a particular feature and not on what they
really need. Before creating a visualization, define exactly how it will be used, such as for self-
service, drill-down, deep analysis, or executive overview.
• Accessible
An accessible visualization is easy to use and can be modified easily when necessary. Also, the
data must be accessible on any device, at any time, at any place. This feature is critical to user
adoption.
Y
EM
This chapter presents different types of visualizations so that you can familiarize yourself with the
TI
many options you have for creating data visualizations of your own.
AD
PY
EN
To simplify the process of understanding visualizations, we focus on the two most popular types: data
visualizations and infographics. Because the use of graphical data visualizations is growing quickly,
NF
TA
T
there is a bit of disagreement about how to define a data visualization versus an infographic. You may
NO
believe that the definition is clear, but when you get into more complex visualizations, you can start
CO
DA
to wonder.
DO
ND
In their book Designing Data Visualizations (O’Reilly Media), Noah Iliinsky and Julie Steele use the
following three criteria to determine whether to call a graphic a data visualization or an infographic:
RE
• Method of Generation
RT
This criterion refers to what goes into creating the graphic itself. If a lot of original illustrations
BE
are created to explain the data, for example, it’s likely to be an infographic. You often see
infographics with beautiful, elaborate images created to explain the information.
CY
Figure below shows an example created by Coleen Corcoran and Joe Prichard.
Y
• Quantity of data represented
EM
Typically, data visualizations have more and different kinds of data from infographics. Also,
TI
AD
the data in data visualizations changes frequently to indicate changes in status. In addition, an
PY
EN
• Degree of Aesthetic
ID
This criterion refers to the artfulness of the graphic. If a lot of design work has gone into
NF
TA
T
DA
You can use the information in Table below to determine whether you’re working with an infographic
or a data visualization. This table becomes useful when you want to decide what type of visualization
DO
ND
Read on to find out what types of content you can put in an infographic or data visualization.
Infographic
Infographics have gained great favor of late. If done well, they can illuminate a problem and tell an
interesting story. Infographics have generated great interest on the Internet because of their ability
to entertain as well as enlighten.
Infographics use design rules to artfully display text, numbers, metaphors, and other data types. You
should use a few key guidelines when you’re planning your own infographic or evaluating one:
Type of Infographic
AL
Y
EM
Several types of infographics are currently popular. The following list can help you choose the right
TI
AD
PY
EN
• Case study AC
CO
ID
If you’ve conducted a specific inquiry about a particular topic and want to share the results,
try a case study. In the context of an infographic, a case study shows the goals, objectives, and
NF
TA
T
DA
• Chronology
DO
The content of a chronology follows a logical, dated order, as shown in figure below. Use this
ND
type of infographic if you want to recount something like the history of a product or the
RE
growth of an industry.
RT
BE
CY
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
• Comparison
When you’re trying to show the difference between one item and another, try a comparison.
Figure below shows a comparison of iOS 6 and iOS 7 icons; in the comparison you can see that
some changes make sense, whereas others seem to change simply for the sake of change.
Y
• Compilation
EM
TI
If you want to inform your audience about a key topic and make it memorable, use a
AD
PY
compilation of information as an infographic. A compilation refers to a collection of
EN
information that is gathered from a variety of sources into one cohesive whole.
AC
CO
ID
• Expert advice
NF
TA
T
• How-to information
ND
Infographics often use visuals to get the message across, as shown in figure below.
RT
BE
CY
How do you know whether you’re on the right track when creating your first dashboard? Here are
three questions to ask yourself:
✓ Will any stakeholders champion the use of the dashboard going forward?
Unless some people believe in the data and want the dashboard to be used, the dashboard
AL
could languish unnoticed after the first flurry of interest.
Y
EM
✓ Will someone update and maintain the numbers in the dashboard?
TI
You need to make sure that whoever looks at the data is seeing current data that takes
AD
PY
EN
changes in company direction into account. Having a dashboard that reflects bad or outdated
AC
CO
This issue probably is the most important one that we cover in this book. If the visualization
TA
T
in the dashboard is confusing, no one will use it, no matter how pretty it is.
NO
CO
DA
DO
ND
the relationships that define visualizations, let’s talk about the process of designing visualizations.
RT
Noah Illinsky & Julie Steele, on their book (Designing Data Visualization) wrote inspiring steps to start
BE
The goal of your visualization is going to be informed by your own goals and motivations as well as the
needs of your reader. A visualization’s goal is usually to satisfy a need for specific information on the
part of your reader. But the goal may also be to change the reader’s opinions or behavior in some way.
To begin defining the goal of your visualization, ask yourself, what information need am I attempting
to satisfy with this visualization? Related questions include:
Natural Ordering
Whether a visual property has a natural ordering is determined by whether the mechanics of our visual
system and the “software” in our brains automatically—unintentionally— assign an order, or ranking,
to different values of that property.
Distinct Values
The second main factor to consider when choosing a visual property is how many distinct values it has
AL
Y
that your reader will be able to perceive, differentiate, and possibly remember. For example, there
EM
TI
are a lot of colors in the world, but we can’t tell them apart if they’re too similar. We can more easily
AD
PY
differentiate a large number of shapes, a huge number of positions, and an infinite number of
EN
numbers. When choosing a visual property, select one that has a number of useful differentiable
AC
CO
ID
values and an ordering similar to that of your data (see picture below).
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
For example, if you’ve got lines differentiated by ending (arrows, dots, etc.), consider also changing
the line style (dotted, dashed, etc.) or color. If you’ve got values encoded by placement, consider
redundantly encoding the value with brightness, or grouping regions with color, as in picture below.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
To be totally accurate, in picture above, adding color more strongly defined the groupings that weren’t
RE
strongly defined before, but those groups are a subset of the information already provided by position.
RT
For that reason, in this case color adds slightly more informational value beyond mere redundancy.
BE
CY
We’ll begin with a discussion of color, including some of the challenges that color selection presents,
and the best uses of color. Then we’ll review other visual encoding properties—such as size, shape,
Copyright @2020 – Cybertrend Data Academy 16
lines, and text—and give suggestions for how each should be treated. Finally, we’ll present some
common (and slightly humorous) pitfalls, and give advice for how to avoid them.
Color
Color is tricky. It’s very appealing, and as designers, we’re tempted to use it all the time. However,
getting color right can be much more difficult than it seems.
In the defense of color, it can be an excellent property for labeling categorical data, or non-ordered
categories for differentiation purposes. (Examples of non-ordered categories include operating
system, gender, region, conference track, and genre.) Just be sure that you don’t need too many
distinct values if you’re using color as the visual property by which to encode categories.
The standard advice for using color to encode categories is to limit your selection to ideally about six—
hopefully no more than 12, and absolutely no more than 20—colors and corresponding categories.
This will allow you to select colors that are different enough that they can easily be differentiated and
clearly named.
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
• Red is associated with warning, danger, and warfare. It can also be associated with passion—
either love or anger—and blood. In the East it is associated with good luck and prosperity.
• Green is associated with nature, the earth, environmentalism, and renewal. It can also be
associated with permission to move ahead, clearance, etc. (as in “green light”)—especially
when paired with red.
• Yellow is associated with happiness, sunshine, and playfulness. However, on its own or in
large fields, it can be irritating. It is also associated with caution.
• Blue is associated with water, coolness, and calm. Depending on the shade, it may be
associated with religion or the military.
• Black is associated with mourning and death, but also with luxury and sophistication.
• White is associated with purity, innocence, and weddings, but also with sympathy and the
afterlife (and therefore, with death).
Size
Size can be used to great advantage to represent the relative importance of entities. Even if your larger
entity is the same size as others “in reality,” making it larger in your visualization makes it more eye-
catching and indicates that it is more worthy of attention. You’ll see this on organizational charts,
where the CEO gets a bigger box, even though the text in the box (or the person it represents) doesn’t
take up any more physical space than any other job title. Consider using size to draw your reader to
AL
Y
central, key, or fundamentally important entities.
EM
TI
Conveying Size
AD
PY
EN
Conveying relative size (or proportion) accurately can be a challenge, especially for very large (e.g.,
AC
CO
planets) or very small items (e.g., viruses). You’ll often see large items compared to familiar big things:
ID
a blue whale, a school bus, the Statue of Liberty, or the Empire State Building. This can be a useful
NF
TA
practice if you’ve got a handy reference item that’s near enough in size to the object you’d like to
T
NO
represent.
CO
DA
Comparing Sizes
DO
We’re really good at comparing the surface areas of rectangles in situations where the only thing that’s
ND
different between them is length. As long as the width remains constant (think: bar graphs and
RE
software progress bars), we are very good at guesstimating the relationship of the size of the shapes
to each other
RT
When it comes to rectangles where the width and length both change, we don’t judge them as
BE
accurately, and we tend to underestimate the differences in size: a square that is 1.4 units long on
CY
each side has twice the area of a square with sides of length 1, but doesn’t seem “twice as big” (see
picture below)
Remember: your goal is to make things clear and easy to navigate for your reader. So avoid using fancy
or trendy fonts just because you can. Stay away from gothic fonts, fantasy fonts, and script fonts.
(We’re looking at you, Comic Sans.) AL
Avoid Drop Shadows
Y
EM
One of the most horrible ways (because it is so needless) in which to obscure legibility is to add a drop
TI
shadow to your text. You have probably seen this done in numerous slide presentations, either in
AD
PY
EN
some misguided bid for emphasis or because the presenter was drinking a little too much coffee at
AC
CO
2am. Bottom line: drop shadows on text make your beloved readers cry.
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Application Terminology
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
Product Description
▪ Used to explore data, create views and dashboards and save workbooks.
DO
Tableau Desktop
ND
Desktop.
CY
Product Description
Tableau Reader ▪ Free workbook presenter allowing users to open and intercat with
(Filter, Sort, Print) packaged workbooks created in Tableau Desktop.
▪ Does not establish a data connection.
▪ Can open packaged workbooks but cannot create, edit, or save views.
AL
Y
Tableau Mobile ▪ A free app for iPhone, iPad, Android tablets, and mobile browsers,
EM
TI
AD
PY
EN
Vizable by ▪ A free iPad app that can be used to visualize and interact with flat-file
ID
TA
T
NO
CO
DA
Application Terminology
DO
ND
RE
RT
BE
CY
1. Go to Start Page Toggle between the active sheet and the Desktop Start Page.
Y
EM
9. Worksheet tabs Click to view a spesific worksheet, dashboard, or story.
TI
AD
PY
EN
11. Status bar Displays data about the fields and marks included in the
view.
NF
TA
T
NO
CO
DA
Tableau displays the following visual cues in the Data pane and the view.
ND
RE
Modifiers
The following table explains how each of the field icons displayed in the Data pane can be modified
RT
Icon preceded by the equal sign (=) indicate that the field is a user-defined
calculation or a copy of another field.
Icons with an exclamation mark next to them indicate that the field is invalid.
Icon Description
Geographic data
User-defined set
Group
AL
Y
Fields on Shelves
EM
TI
AD
PY
EN
TA
T
NO
DA
The delta icon indicates that the field has a table calculation
DO
ND
applied to it.
RE
The plus and minus controls appear when the field is part of a
hierarchy in which you can drill up or down.
RT
BE
CY
A Tableau site is a place for your team to publish data sources and workbooks to share with each
other.
In Tableau-speak, we use site to mean a collection of users, groups, and content (workbooks, data
sources) that’s walled off from other sites (collections of users, groups, and content).
As a site user, you might be able to sign in to one site, or you might be able to sign into multiple
sites, depending on the access your administrator gives you. After you sign in, you can see projects
and content that you can access.
AL
Y
User Capabilities
EM
TI
Your user level and content permissions determine what you can see and do with Tableau on the
AD
web. Starting in 2018.1, your Tableau user level can be Creator, Explorer, or Viewer.
PY
EN
AC
CO
Not sure what your user level is? To check, select the icon in the top right corner of the site
ID
with your initials or profile picture and select My Account Settings. Site Role tells you if you
NF
In general:
DA
• Creators can:
DO
▪ Build and publish data sources and workbooks from the browser or Tableau Desktop
▪ Use Dashboard Starters
RE
• Explorers* can:
BE
permissions)
▪ Create data alerts and custom views, download content (options vary based on
permissions)
▪ Everything that Viewers can do
*The user level Explorer (can publish) is an Explorer who can publish new content from
Desktop to a site and create and publish new content from an existing published data source,
but cannot connect to external data or create new data sources.
• Viewers can:
▪ See published and custom views others have created
▪ Explore the data in a view using filters and legends, sorting, and tooltips
▪ Share, comment on, and download content (options vary based on permissions)
Y
EM
TI
Administrators can set at the site level what web authoring abilities users can have. Explorers can
AD
PY
edit workbooks, create new workbooks from published data sources, connect to published data
EN
sources, and create and edit views, dashboards, and stories. Creators have those same capabilities,
AC
CO
ID
but can also create new workbooks, connect to data on the web, and use Dashboard Starters to
quickly dive into analysis.
NF
TA
T
NO
CO
DA
Data Management
• Creators: Connect to data sources, upload files (text and Excel), or use pre-built Dashboard
DO
Note: There is a limitation on the number of rows that can be viewed in the Data Source
RT
Independent of browser, the total number of records (rows by columns) that can be viewed
in the Data Source page on the web is 3 million.
Analytics
•
AL
Create, edit, rename, duplicate, and clear sheets (views, dashboards, and stories) in a
Y
EM
workbook.
TI
AD
PY
• Drag fields to the view, Rows, Columns, and different mark types in the Marks card.
EN
• Use Show Me to create views. Also, select and drag dimensions and measures of interest to
AC
CO
ID
TA
T
• Viz in Tooltip works in web views, but must be configured in Tableau Desktop. Viz in Tooltip
NO
CO
worksheets can be hidden, the same way you would hide worksheets used in stories or
DA
dashboards.
•
DO
• Use the Analytics pane to drag reference lines, trend lines, and other objects into the view.
RT
Edit reference lines, trend lines, and bands. Create and configure reference distributions on a
continuous axis.
BE
• Create groups by selecting marks in the view and then clicking Group Members (paperclip) in
CY
the tooltip for that selection. You can also edit existing groups in the Data pane.
• Create hierarchies by dragging one dimension onto another in the Data pane.
• Change options for interacting with maps, including enabling or disabling pan and zoom, or
showing map search, the view toolbar, or map scale. Users can also map units.
• Drill up and down a continuous hierarchy in the view. In a view with a continuous hierarchy,
hover near the headers on a continuous axis to display the + and - controls. Click to drill down
or up.
• Show labels, totals, and subtotals.
• Show and hide titles and captions.
• Show and hide cards for filters and highlighters.
• Show, hide, and resize headers in the view.
• Swap X and Y axes. Resize axes in the view.
• Change the view size.
• Show and hide the View Toolbar for any view or dashboard.
• Duplicate a sheet as a crosstab view.
Formatting
• Resize the width of row headers and the height of column headers.
• Edit workbook formatting, including formatting lines.
• Edit worksheet and dashboard titles.
• Edit axes (double-click an axis in the view). Other options available: Synchronize dual axes,
AL
clearing the axis range (Reset), and tick mark settings. Enable or disable Dual axis in a field
Y
EM
context menu (right-click a measure field on Rows or Columns shelf). Logarithmic scales can
TI
AD
PY
• Edit number formatting (decimal places, percentage, thousands separator, units, and
EN
currency).
AC
CO
ID
• Create, edit, move, and resize point, mark, and area annotations.
• Add and edit dashboards objects, including: horizontal and vertical layout containers, text,
NF
TA
T
•
CO
Change the color palette. For categorical fields you can assign specific colors and custom
ND
colors (using a hex code) to data items. For continuous fields, you can set custom colors for
start and end colors (using a hex code).
RE
Legends per measure. If you create separate color legends for the measures in your view,
Tableau assigns the default color palette to each new color legend. To change the color legend
for each measure, click the drop-down arrow on the color legend to open the Edit Colors
dialog box and select the palette that you want to use.
AL
Y
When you sign in to Tableau Server or Tableau Online, the first page you see looks similar to the
EM
following example. The Home page gives you quick access to newly added favorites, recently visited
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Navigate Content
To see all of the content you have access to across your Tableau site, from the navigation panel, click
Explore. Your site role and permissions determine the content that you can see and the options that
are available.
Y
• C - Quick search
EM
•
TI
AD
PY
E - Filters
EN
AC
CO
By default, Explore shows Top-level Projects. You can select different content types from the menu
ID
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Navigate Site
As an administrator on Tableau Server or Tableau Online, you can access admin settings that aren’t
available to other users to configure sites, users, projects, and to do other content related tasks.
The settings in this article refer to the Tableau web environment. Tableau Server administrators with
appropriate credentials can also change server settings such as processor, caching, authentication,
distributed deployment, and related configurations using the TSM web environment.
Access based on site role and number of sites the menus you get when you sign in to Tableau Server
or Tableau Online depend on the following conditions:
Server Administrator
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Y
EM
TI
AD
PY
EN
AC
CO
ID
When you sign in to Tableau Server or Tableau Online, the first page you see looks similar to the
NF
TA
T
following example. The Home page gives you quick access to newly added favorites, recently visited
NO
CO
DA
Navigate Project
ND
Projects provide a way to organize the content on your site. Top-level projects can contain other
(nested) projects, forming a hierarchy that you navigate like the file system on your computer.
RE
When you open a project, you see all of the content that project contains on a single page, including
RT
AL
Y
EM
TI
Navigate Workbook
AD
PY
EN
A workbook page shows the views included in the workbook and the data sources used by the
AC
CO
workbook. It also provides a list of user subscriptions to either the workbook or to individual views.
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Navigate Views
A view page displays options for interacting with the view, including sharing, subscribing, and editing.
The options available in the toolbar vary depending on the site configuration and your permissions.
Y
EM
TI
AD
PY
EN
AC
CO
When a workbook is published from Tableau Desktop with the Show sheets as tabs option selected,
ID
you can see each sheet by clicking the tabs above the view title.
NF
TA
T
NO
CO
DA
DO
ND
Note: The 12 most recent views you have visited appear on your Recents page.
RE
A data source page shows data connections and the workbooks connected to the data source. If the
data source is an extract, the page also shows scheduled extract refreshes.
BE
You can use Ask Data to investigate your data, right from the data source page. Type a question and
CY
Navigate Flows
A flow page allows you to schedule flows to run automatically to update flow output data. To see and
work with flows in Tableau Server, you must have the Data Management package included with your
Tableau Server installation, and Tableau Prep Conductor must be enabled.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
In list view:
AD
PY
EN
•
AC
CO
indicates a project
ID
• indicates a workbook
NF
• indicates a view
TA
T
NO
DA
• indicates a flow
DO
ND
In grid view, you can hover over thumbnails to see details about the items.
Y
To sort items, click the Sort by drop-down menu. You can sort by characteristics such as name, owner,
EM
TI
AD
PY
EN
This example shows the sort options for number of page views.
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
You can also sort a list by clicking the column heading. An arrow indicates the order: ascending (up
arrow) or descending (down arrow).
On Tableau Server, if only one site exists, that site is named Default. When you’re signed in to the
Default site, the browser URL looks something like this:
https://server-name/#/projects
If you have access to multiple sites, you select one when you sign in.
On Tableau Online or an instance of Tableau Server running multiple sites, the browser URL includes
#/site/ followed by the site ID. If the URL doesn't include /site, then you’re signed in to the Default
site.
The following URL shows an on-premises Tableau Server site whose site ID is finance:
https://localhost/#/site/finance/views
AL
Y
Connect to Data and Create Workbook
EM
TI
Before you can create a new workbook and build a view on the web to analyze your data on the web,
AD
PY
you need to connect to your data. Tableau supports connecting to data sources on the web published
EN
through Tableau Desktop, or, connecting to data directly through Tableau Online or Tableau Server.
AC
CO
ID
Note: Data connections created in Tableau Online or Tableau Server are live connections only. If you
NF
TA
T
need to use an extract for web authoring, you can publish your data source through Tableau Desktop.
NO
DA
ND
A Connect to Data window opens, which contains several tabs: Files, Connectors, On this Site, and, if
you’re connected to Tableau Online, Dashboard Starters.
Connect to Files
Tableau supports uploading Excel or text-based data sources (.xlsx, .csv, .tsv) directly in your browser.
In the Files tab of the Connect to Data window, connect to an Excel or text file by dragging and
dropping it into the field or clicking "Upload from computer."
When Tableau successfully connects to your data, the Data Source page opens so that you can prepare
the data for analysis and begin building your view.
AL
Y
Use connectors
EM
TI
From the Connectors tab, you can connect to data housed in a cloud database or on a server in your
AD
PY
enterprise. You need to supply connection information for each data connection that you make. For
EN
example, for most data connections, you need to supply a server name and your sign-in information.
AC
CO
ID
To create workbook from published data source you can easily do the following steps:
NF
TA
T
DA
• Either open the project that contains the data source you want to use, or show All Data
Sources.
DO
• Click the … next to the data source name to open the actions menu, then click New Workbook.
ND
RE
RT
BE
CY
• A new, blank workbook opens in the Tableau Server web editing environment.
• To Save you can click File > Save or File > Save As to save in another name
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
3) Under Sheets, double-click the table you want to connect to, or click and drag it to the white area
labeled Drag sheets here.
Note that in the upper area of the window toward the right, under Connection Live is
automatically selected.
4) At the bottom of the screen, click the sheet under Go to Worksheet.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
➢ After you have set up the data source, in the grid, select two or more columns. Click the drop-
NO
CO
DA
down arrow next to the column name, and then select Pivot. New columns called "Pivot field
names" and "Pivot field values" are created and added to the data source. The new columns
DO
replace the original columns that you selected to create the pivot.
ND
RE
RT
BE
CY
Note: Pivot is available only for Microsoft Excel, text file, Google Sheets, and .pdf data sources.
Or, if you are not working with the types of data listed, you can use custom SQL as an alternative
way to pivot your data in Tableau
➢ To add more data to the pivot, select another column, click the drop-down arrow next to the
column name, and then select Add Data to Pivot. Make sure that the pivot columns and values
look as expected before you begin your analysis.
Y
EM
TI
AD
PY
To remove a pivot, click the drop-down arrow next to the name of a pivot column, and then
EN
TA
Sometimes, it is easier to analyze a string fields if its values are separated into multiple fields. Use
DA
the Split and Custom Split commands to split string values from one field into multiple fields.
DO
After you have set up the data source, you can have Tableau automatically split the field based on
ND
a common separator or do a custom split of a field by specifying the common separator and the
RE
number of fields. Or, if you have mixed separators in that field, you can use Additional function
like REGEX_REPLACE, REGEX_MATCH, etc.
RT
To use Split, click the drop-down of the column you want to split, and select Split. On the data
BE
source window, two columns display next to the split column OR in the Data pane, the split
dimension displays as two fields.
CY
Y
EM
TI
AD
PY
EN
AC
CO
ID
Split dimension (using Split or Custom Split) are calculated fields. They have the same
NF
TA
T
➢ They can be used for blends, but cannot be used for joins.
DO
Use the Custom Split option when the column split you need is more complex, or when you want
RE
more control over how the column is separated. You can access Custom Split on the same menu
as Split.
RT
1. In the preview area, click the drop-down arrow next to the column name of the column you
BE
following:
• In the Use the separator box, enter the
separator by which to separate the values
in the field. The separator can be a
character or a combination of characters
or phrases.
• Under Split off, select whether to split the
string values for every instance (All) of the separator, the first (First) n instances of the
separator, or the last n instances (Last) of the separator.
• Enter the number of fields you want to generate from the split.
Saving and Editing a Data Source
A Tableau data source is a file you can use to save any data attributes you have edited for a connected
data source. For example, if you move a field from Measures to Dimensions, change a field’s alias, or
modify its default properties, your changes are saved in the data source (as a .tds file type) even when
the underlying database or spreadsheet is updated.
Y
inherit the data source changes.
EM
TI
AD
PY
EN
The data source (.tds) file doesn’t contain data from your underlying source.
AC
CO
ID
TA
T
NO
i. On the Data menu, select the data source you want to share, and choose Publish to Server.
CO
DA
ii. Name the data source → close the existing file → open a new workbook and connect to the
Shared Data Connection you just created.
DO
ND
Save the file locally for personal On the Data menu, select the connection you want to
RT
To Do this
Create a local copy for editing from If you have access to a data source on Tableau Server, on
a file that is shared on Tableau the Data menu, right click on the Server connection, and
Server choose Create Local Copy. This requires that you save a
.tdsx file locally.
Publish to Tableau Server for work 1. On the Data menu, select the connection you want to
group sharing share, and choose Publish to Server.
2. You may choose to overwrite the existing Data Source
with the same exact name, or create a new source.
Subsequent workbooks can inherit data source
changes.
Y
to you are shown when you're in the Connect to Data window. You can upload files using the Files tab,
EM
TI
connect to server or cloud data sources with Connectors, or use published data sources with on this
AD
PY
Site. If you're signed into Tableau Online, Dashboard Starters are also available.
EN
AC
CO
Before you can create a new workbook and build a view on the web to analyze your data on the web,
NF
TA
T
you need to connect to your data. Tableau supports connecting to data sources on the web published
NO
through Tableau Desktop, or, connecting to data directly through Tableau Online or Tableau Server.
CO
DA
ND
RE
RT
BE
CY
As a Creator, you can create a new workbook or add a new data source to an existing workbook in
several ways:
Tableau supports uploading Excel or text-based data sources (.xlsx, .csv, .tsv) directly in your browser.
In the Files tab of the Connect to Data window, connect to an Excel or text file by dragging and
dropping it into the field or clicking "Upload from computer."
Once you've connect to data in Tableau Online or Tableau Server, you can use the Data Source page
to set up your data source and prepare your data for analysis. Having data that is formatted in a way
AL
Y
Tableau likes is crucial to building a view or doing analysis in Tableau, and communicating the right
EM
TI
AD
PY
EN
Note on keeping your data fresh: If you connect to a published flat file (Excel or text), that data will
AC
CO
not be refreshed even if it’s modified. If your data is in an on-premises server and is published to the
ID
web through Tableau Desktop, it will be rendered as an extract and won’t be refreshed. If you need
NF
TA
to keep data published through Tableau Desktop fresh on the web, you can use Tableau Bridge.
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
TA
A. Left pane
T
NO
Displays details about your data connection. For example, for Excel-based data, the left pane
CO
DA
shows your Excel workbook name, and sheets contained in that workbook. For databases, the
left pane displays the server, the database or schema, and tables in the database.
DO
ND
B. Canvas
When connected to most relational and file-based data, you can drag one or more tables to
RE
the canvas area to join tables for analysis. In the canvas, you can also join tables from the
RT
You can use the data grid to review or rename fields, create calculations, preview your
CY
Use Connector
From the Connectors tab, you can connect to data housed in a cloud database or on a server in your
enterprise. You need to supply connection information for each data connection that you make. For
example, for most data connections, you need to supply a server name and your sign-in information.
Supported connectors for Tableau Online and Tableau Server are:
Y
Microsoft SQL Server
EM
• Box • OneDrive
TI
• Denodo • Oracle
AD
PY
• Dropbox •
EN
PostgreSQL
• Exasol •
AC
Snowflake
CO
ID
TA
T
• Google Drive
NO
CO
DA
• Actian Matrix* •
DO
MarkLogic*
ND
• Denodo* • MySQL
• Dropbox •
CY
Oracle
• Exasol • Pivotal Greenplum Database
• Google • PostgreSQL
• BigQuery • SAP Sybase ASE*
• Google Cloud • SAP Sybase IQ*
• SQL • Snowflake
• Google Drive • Tableau Data Server (single connections)
• IBM DB2 • Terradata Machine Learning Agent (Aster)*
• IBM PDA (Netezza)* • Vertica
• MariaDB
*Not available on Linux servers.
Supported Connectors has information on how to connect Tableau to each of these connector types
to set up your data source. If the connector you need doesn't appear in the Connectors tab, you can
connect to data through Tableau Desktop and publish your data source to Tableau Online or Tableau
Server for web authoring.
Dashboard Starters
Dashboard Starters help you quickly author and analyze data from cloud-based systems like
Salesforce, ServiceNow ITSM, Oracle Eloqua, and Marketo. Simply create a new workbook and choose
from several beautiful, informative designs that are tailor-made for key business metrics.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
1. Open Creating_a_Local_Data_Connection_Starter.twbx
2. Connect to the Orders table in the Data Connection Practice.xls file in the Data folder of the USB.
1. Open Sheet 1, and in the Data pane, rename the Row field to Row ID.
2. Change Row ID from a Measure to a Dimension.
❖ Using right-click on Row ID and select Convert to Dimension
3. Rename Global Area field to Country, and assign this field a geographic role of Country/Region.
❖ Rename field: Right-click on Global Area then select Rename.
❖ Change into Geographic Role: Right-click on Country then select Geographic Role >
Country/Region.
Y
EM
TI
AD
PY
EN
1. Add Orders (Data Connection Practice) to Saved Data Sources as “My Superstore” and ensure it
AC
CO
ID
❖ Locate the path into directory My Documents > My Tableau Repository > Data Source.
DA
ND
2. Close the current workbook and then open a new workbook. Under Connect to Data select the
RE
new “My Superstore” data source, and observe the data attribute changes that were saved.
RT
Create a Visualization
BE
1. Create a Bar Chart showing the average Discount by Category and Sub-Category.
CY
Share as an Image
Insert the image into a program such as Microsoft Power Point or Word.
Data Filtering
Sorting
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Filter on a Dimension
The Filter dialog box for dimensions has several filter option tabs.
General Shows members of the dimensions you can select for inclusion or exclusion.
Wildcard Sets up a wildcard inclusion or exclusion of members matching the value
entered.
AL
Y
EM
Condition Filters values based on specific conditions. Can be determined by fields, range
TI
AD
of values, or formula.
PY
EN
Top Filters by top “N”. where N is determined by the value of specified fields or by
AC
CO
ID
formula. For example, top 10 cities by Profit. This tab can also be used to show
NF
TA
T
DA
DO
ND
These filters are cumulative, meaning the settings you choose on each tab affect the others using
“AND” logic. For example, if you filter Region dimension to include only West (on General tab), and
RE
then add conditions for a Top 10 filter (on Top tab), you see Top-10 data for the West only.
RT
BE
When you drag a dimension from the Data pane to the Filters shelf in web authoring, an interactive
filter appears in the view.
You can then select the items you want to include or exclude in the view.
AL
Y
Filter on a Measure in Web
EM
TI
AD
PY
When you drag a measure from the Data pane, to the Filters shelf in web authoring, the field is
EN
TA
T
NO
•
CO
On the Filters shelf, right-click the field, select Measure, and then select an aggregation.
DA
DO
• Click the filter card drop-down and select from the following:
RE
RT
Range of Values: Select the Range of Values option to specify the minimum and maximum
values of the range to include in the view. The values you specify are included in the range.
BE
CY
At Least: Select the At Least option to include all values that are greater than or equal to a
specified minimum value. This type of filter is useful when the data changes often so specifying
an upper limit may not be possible.
Y
Add a Date Filter
EM
TI
AD
PY
EN
2. In the Filter Field dialog box, select the type of date filter you want to use.
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
Discrete
BE
Use Relative Dates to update data dynamically with time. For example, set your filter to show
data for 3 months before or after the current date. The data shown in your view updates daily.
Use Range of Dates filter to specify a span of time. You can also specify a starting or ending date.
You can create filters for Discreate dates and times like: Years, Quarters, Months, Days, Weekdays,
etc.
When you drag a date field from the Data pane to the Filters shelf in web authoring, a date range filter
appears in the view.
To change the type of filter, click the filter card drop-down and select from the following:
• Relative Date: Click Relative dates to define a range of dates that updates based on the date
and time you open the view.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
• Range of Dates: Select Range of dates to define a fixed range of dates to filter
NF
TA
T
NO
CO
DA
DO
ND
RE
• Start Date: Select Start date to define a fixed start date to filter on.
RT
BE
CY
• End Date : Select End date to define a fixed end date to filter on.
• Browse Periods: Select browse periods to select a period of time to filter by, such as one day,
one week, one month, one year, five years, etc.
AL
Y
EM
TI
AD
PY
EN
AC
CO
Direction:
ID
1. Open Filtering_Starter.twbx
NF
TA
T
NO
2. Create Visualization:
CO
DA
❖ From Dimension, drag and drop Customer Segment and Department to Columns.
ND
❖ From Measure, drag and drop Profit to Color on the Marks card, and change the color palette
RE
3. Create a filter for Region and Show the Filter by click an arrow of the Region on the Filter card,
BE
displayed as single value list, removing the All option, and titled “Select a Region”.
CY
Experiment with the sliders and notice the “AND” logic being used. The results shown are those that
match criteria of both filters.
Computed Sorts
A computed sort sets the sort order option and changes dynamically as the data changes. There are
several types of computed sorts.
Sort Description
Default The default sort order determines how a field will be sorted
when it is first to a view. You can set the default sort order to
either ascending or descending order, as well as control
whether it is sorted alphabetically, by data source order, or
even by a specified manual sort.
AL
Y
Right-click sorting on a Performed on dimensions in a visualization, this sort option
EM
dimension appears when right-clicking a dimension. This type of sort
TI
overrides the default sort, and can sort any aggregation on any
AD
PY
EN
changes.
ID
One-click sorting on an axis Use the toolbar icons for ascending and descending. Or hover
NF
TA
T
over an axis and click the sorting icon when it appears. This sort
NO
CO
DA
ND
RE
Manual Sorts
RT
Manual sorts are an easy way to sort data quickly, but they are not dynamic.
BE
Sort Description
CY
Drag and Drop sorting Apply by dragging headers or labels in a view and dropping them in a
new place. This sort is not dynamic (changes in filters or data do not
change the sort order) and only applies to the sort field member of a
single dimension.
Sorting on selected Click and drag to select the marks in a view that you want to sort, and
marks then hover over the marks and choose the Sort icon that appears in
the Tooltip. This sort overrides the default sort and is not dynamic.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
DA
1. In a worksheet, right-click (control-click on Mac) the field you want to sort and select Sort.
RE
▪ Ascending - sorts the data in ascending order from lowest to highest or least
to most.
▪ Descending - sorts the data in descending order from highest to lowest or
most to least.
o For Sort by, select one of the following options:
▪ Data source order - the order that the data source naturally orders the data.
Generally for relational data sources, this tends to be in alphabetical order—
more specifically, in natural sort order, which is identical to alphabetical
order, except that multi-digit numbers are ordered as a single character. So,
for example, in alphabetical sorting, "z11" comes before "z2" because "1" is
Y
EM
▪ Manual - allows you to manually sort the data in the order you prefer. For
TI
AD
PY
EN
TA
T
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
With the release of Tableau Desktop 2018.2, you can now create a nested sort without any additional
CY
Suppose you are looking at sales sub-categories for all regions in your country. In the view below, you
can see that the Central region sells more products in the Chairs subcategory than any other
subcategory. However it's harder to compare how Chairs ranked in other regions.
To see which subcategories ranked the highest in each region, you might want to sort the
subcategories within each region instead. You can do this with nested sorting.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Click the sort icon that appears at the top of the view.
One click sorts the data in ascending order. Two clicks sorts it in descending order. Three clicks clears
the sort.
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Now you have a nested sort where the subcategories are listed in descending order of sum of sales
within each region. You can see that Chairs are the highest selling subcategory in the Central region,
but in the East region, Phones are the best selling product; Chairs are the second-best selling product.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
View Two
CO
DA
Starting with a duplicate of the first worksheet, use color and a computed sort to compare the sum of
DO
ND
Y
EM
• Edit the color palette to Red-Green Diverging.
TI
AD
• Edit the sort applied to Category so field selected is sum of Profit.
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Using Groups
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
1. CTRL + click to select several dimension labels in the view and then click Group icon. You can find
the Group icon on the toolbar, within the tooltip or by right – clicking. The new group appears in
the Data pane.
Toolbar
AL
Y
EM
TI
AD
PY
EN
Tooltip
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
2. If you want to add or remove group members, in the Data pane, right-click the new group, choose
RE
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
Direction:
CO
DA
specification:
ND
1. On the worksheet, create a group from the following items in Category: Envelopes, Rubber Bands,
RE
and Labels, and edit the alias for the new group as “Desk Supplies”.
RT
2. Create Hierarchy called “Products” in the Data pane organized as follows: Department, Category
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
Direction:
Open Creating_Visual_Grouping_Starter.twbx and create a view according to the following
NF
TA
T
NO
specification:
CO
DA
ND
2. Create Visualization:
BE
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Note : Date hierarchies and attributes in OLAP (or cubes) are defined when
the cube is created, and you cannot modify them in Tableau.
When you place a date on a shelf, the default field name reflects the highest date level in your data.
Y
you want to show your data organized along a timeline, from the
EM
TI
AD
PY
EN
AC
CO
TA
T
linier time, and creates a header. Use discrete dates to show your
NO
CO
DA
Create a bar chart to show the aggregation of sales by month of the order date. Use your
visualization to determine the total sales for all years in a specific month.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
DA
specification:
ND
RE
3. Right click the Order Date on Columns and select the discrete month format.
On Sheet 2, create a line chart to show sales for each month of the order date in a continuous time
line. Use your visualization to see highs and lows for sales over time and determine sales for a
particular month and year.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
DA
ND
specification:
RE
Right click the Order Date on Columns and select the continuous month format.
Using custom dates also breaks the automatic date hierarchy Tableau creates and allows for each field
to represent just itself – similar to a DATETRUNC ( ) function.
i. In the Data pane, right-click on the date field you want to use for the custom date, point to
Create, and then select Custom Date.
ii. In the Create Custom Date dialog box, in the Name field, give the new custom date field a
meaningful name.
AL
Y
EM
iii. From the Detail drop-down list, select the date type you want to use.
TI
AD
PY
iv. Choose Date Part to set the date as discrete, and Date Value to set the date as continuous.
EN
AC
CO
ID
NF
TA
T
Practice creating custom dates, then build a hierarchy to control and simplify your view so you only
DA
see sales by the date parts you need for more efficient analysis
DO
ND
RE
1. On the sheet named Continuous Quarters, create a custom date with a value of quarters, and
name it “Order Date (Continuous Quarters)”. Use custom continuous dates are shown in quarters.
Hint : Right click on Order Date then create custom date
2. Drag the newly Order Date (Continuous Quarters) to Columns.
3. Uses a line chart of sales by order date.
Create a bar chart that shows sales by order date using a custom discrete date in quarters.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
Direction:
CY
1. On the sheet named Discrete Quarters, create a custom date with a value of quarters, change to
Date Part, and name it “Order Date (Discrete Quarters)”. Hint : Right click on Order Date then
Create > Custom Date
2. Remove the date field on the columns shelf, and drag this new field to Columns.
3. Change the mark type to Bar.
Create a bar chart that shows sales by order date using a custom discrete date hierarchy of years to
quarters.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
Direction:
NF
TA
T
1. On the sheet named Year to Quarter Custom Date Hierarchy, create a custom date with a value
NO
CO
DA
of years, change to Date Part, and name it “Order Date (Discrete Years)”.
Hint : Right click on Order Date then create custom date
DO
ND
2. Drag the Order Date (Discrete Quarters) to the custom years date field Order Date (Discrete
RE
Years) to create a hierarchy named “Order Date (Discrete Years to Quarters)” and drag to the
RT
view.
BE
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
When you create a combined axis or dual axis view, these fields appear in the view automatically, as
does a Measure Values card that shows what fields are included.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
In the above crosstab, adding both the Sales and Profit fields to the view invoked the Measure Values
CY
Y
EM
TI
AD
PY
EN
• Drag a second measure on to the vertical axis, droping it when you see the light green double-
AC
CO
ID
bar icon.
NF
TA
T
NO
CO
DA
DO
ND
RE
• To create a view similar to the example, drag an additional instance of Measure Names from
BE
Columns to Color on the Marks card, and edit the colors as required.
CY
AL
Y
EM
TI
AD
PY
EN
Direction:
AC
CO
ID
TA
T
NO
specification:
CO
DA
1. Create a view:
DO
ND
Note: Drop Profit when the mouse icon changes to a double ruler.
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
Dual axis charts use two separate measure axes and a single dimension axis. Use this kind of chart to
NO
CO
DA
show:
DO
• Two measures with different measurement units, for example, one measure in dollars and another
ND
RE
For example one measure in money using a scale between 0 and 100 and another in money using
BE
a scale of 0 to 1000.
CY
• Two measure with the same measurement units and using the same scale.
• Two measure that you wish to show with diffrenet mark types.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
When working with a dual axis chart, you can customize the mark type for each distinct measure. A
DO
ND
dual axis chart with differentiated marks (combo charts) allows you to more easily compare two
RE
1. Drag one measure to Rows→ Drag a second measure to Rows, next to the first measure.
BE
2. Right – click the measure you dropped in the step before and choose Dual Axis.
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
Direction:
NF
TA
T
NO
DA
ND
2. Set the YEAR(Order Date) on Columns to continuous month (for example, May 2015).
BE
5. Change the mark type to Line for the newly-created Profit axis.
6. Synchronize the Profit axis to the Sales axis.
Edit the colors so Sales is shown as light gray bars instead of orange.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Y
EM
A correlation is the statistical relationship between values. When you view a scatter plot, look for
TI
AD
PY
three types of correlations:
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
TA
T
NO
To Do the following
CO
DA
Exclude the outliers from your view CTRL+click and hover over the marks to select
DO
Call out the outliers in using an annotation Right-click and select Annotate, then choose
RE
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
Direction:
DO
ND
1. Create a scatter plot that compares average Marketing expenses with average Sales values.
RE
▪ From Measures, drag Sales to Rows, change aggregation from SUM to Average
RT
▪ From Measures, drag Marketing to Columns, change aggregation from SUM to Average.
BE
CHECK 1 What product type that cost an average of over $100 in marketing expenses while yielding
below $500 in average sales?
Mapping in Tableau
Navigation and Selection in Maps
Creating Geographic Groups
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Tableau automatically generates Latitude and Longitude fields for many geographic areas. You can use
these fields to overlay your data onto live maps for spatial analysis.
The fields for Latitude and Longitude display under Measures. Tableau can encode latitude and
longitude for many different geographic information types, such as zip codes, area codes,
congressional districts, and so forth, with zoom levels that range from the entire world to street-level
views. But, for Indonesia Tableau only detect until city level.
Y
1. In the Data pane, under Dimensions, select a field with a globe icon and drag it to Detail on the
EM
TI
marks card.
AD
PY
EN
2. In the Data pane, under Measures, select the value you want to show on the map and drag it to
AC
CO
3. Use the marks card to change the marks on the map. For example if you want a filled map, select
NF
TA
T
NO
Filled Map from the mark type drop-down. You can also add labels and edit tooltips for your map,
CO
DA
and use the Marks card to encode colors and size variation in data points.
DO
ND
RE
Maps created in Desktop include navigation, search, and selection options in a view toolbar.
BE
The Rectangular Selection tool is selected by default when you create a map.
CY
The table below lists the available options you can choose from. Any tool you select will remain active
until you choose another tool.
Map Search Click the Map Search icon, type a geographic search term into the text
box, and then press ENTER to initiate a search.
Zoom and Pan To zoom in or out , use the + and – icons on the map toolbar. To pan
across the map, click and drag the mouse pointer across the map.
Reset Axes To reset the map to the original view, click the pushpin icon.
Zoom Area Selects an area in a rectangular shape, and the zooms the map in to the
selected area.
Rectangular Selection Selects an area in a rectangular shape. All marks in the area display as
selected.
Radial Selection Selects an area in a circular range (radial) . Click the circular dotted line
icon, and then click+drag the cursor around the area you want to select.
All marks in the area display as selected.
Lasso Selection Select an area of an irregular shape. Click the kidney shaped dotted line
AL
Y
icon, and then click+drag the cursor around the area you want to select.
EM
All marks in the area display as selected.
TI
AD
PY
EN
AC
CO
ID
Map Options
NF
TA
T
You can choose to show or hide various navigation and search options in a
NO
CO
DA
worksheet. On the Map menu, click Map Layers and then check or clear the options
you want to include or exclude.
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
Direction:
DO
ND
• From Measure: drag and drop Sales into Size on the Marks card.
RT
• From Measure: drag and drop Profit into Color on the Marks card.
BE
2. On the Marks card, use the Size slider to increase the size of the marks.
CY
3. On the Marks card, use the Color to change the color, choose Red-Blue-Diverging and add a black
border color.
4. Create a Market filter that shows only central and south.
5. Use Map Layers to select the Normal map style.
6. On the Marks card, drag and drop Area Code to Label.
7. Add a filter to the view with a slider for Profit.
8. Test the levels of zoom and map selection options on your map.
You can create custom geographic groups in a map view by visually grouping the desired locations.
1. In a map view, use any of the map selection tools or CTRL+click to select several geographic.
2. Click the Group icon from toolbar or the tooltip to group the selected locations together.
3. Select the level of detail for the grouped locations, for example Zip Code.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
Note that new group field is added to the Data pane. The new group field is also added to Color on
RE
4. Continue visually grouping locations until you have created all of your custom geographic groups.
5. If you want to change the name of the groups or edit which members are in a group, use the Edit
Group dialog box.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
You can also create custom geographic groups using a geographic dimension in the Data pane.
RE
To create geographic group from the Data pane, right-click on the geographic field in the Data pane
RT
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
Direction:
NF
TA
T
• From Dimension: drag and drop State into Detail on Marks card.
CO
DA
• From Measure: drag and drop Sales into Label on Marks card.
2. Change the mark type to a Filled Map.
DO
ND
3. Use the map selection tools or CTRL+click to select states for the first geographic group.
4. On the toolbar, use the Group icon with States to create custom sales area using geographic
RE
groups.
RT
BE
CY
Creating Crosstabs
Grand Totals, Sub-Totals, and Changing Aggregation
Creating Heat Maps
Creating Highlight Tables
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
• Drag a dimension to Columns shelf → Drag another dimension to the Rows shelf → Drag a
AL
Y
measure to Text on the Marks card.
EM
TI
• If any subsequent measures are to be displayed, drag and drop them into the view with the
AD
PY
EN
existing measure in the crosstab you have created. This action causes Measure Names and
AC
CO
ID
To create crosttab from existing view, just right – click the tab for the worksheet you want to
TA
T
NO
DA
DO
ND
You can add row and column grand totals and sub-totals to any view, but grand totals are most
commonly used in crosstabs. Grand totals are computed using the aggregation of the measures
You can use the options on the Analysis menu or the Totals options on the Analytics pane.
▪ On the Analysis menu, select Totals and choose Show Row Grand Totals or Show Column
Grand Totals
Show Subtotals
▪ On the Analysis menu, select Totals, and choose Add All Subtotals.
Y
Use the Analytics pane to drag Totals to your view. When you drag the Totals object to the view, you
EM
TI
see options for Subtotals, Row Grand Totals, and Column Grand Totals.
AD
PY
EN
AC
CO
When you add totals and subtotals to your cross tab, by default row totals appear on the right, and
NF
TA
T
NO
column totals appear at the bottom. You can move these totals to the left or top.
CO
DA
▪ On the Analysis menu, click Totals, and then click Row Totals to Left or Column Totals to Top.
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Direction:
1. Create the following view:
• From Dimension, drag Region to Columns.
• From Dimension, drag Department and Category to Rows.
• From Measure, drag Sales to Text on Marks card.
2. Use the Show Row Grand Totals. Hint : Go to Analysis then click Totals
3. Use Show Column Grand Totals. Hint : Go to Analysis then click Totals
4. Add All Subtotals. Hint : Go to Analysis then click Totals
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
Direction:
DO
5. To add dividers between rows, including rows for subtotals and grand totals, click Borders on
CY
AL
Y
EM
TI
AD
PY
EN
1. Using Show Me: Select one or two measures and at least one dimension you want to compare
NF
TA
T
and click the heat map icon on the Show Me menu. Use the marks card to adjust the shape sizes
NO
CO
DA
2. Building Manual: Drag one measure to Size and one measure to color on the Marks card → drag
ND
one dimension to Columns and one dimension to Rows to build a table →use marks card to adjust
RE
A highlight table is a color-encoded crosstab. Highlight tables call attention to very high or low data
CY
values and are useful for showing detailed values in text, while emphasizing outliers and patterns in
color.
1. Using Show Me: CTRL+Click at least one dimension and one measure → on the
AL
Y
Show Me menu, choose highlight table.
EM
TI
2. Without Show Me:Drag at least one dimension to the Rows shelf or Columns
AD
PY
shelf → drag the measure to Text on the Marks card → Drag another instance
EN
AC
CO
of the same measure to Color on the Marks card → on the Marks card, from
ID
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
Direction:
DO
2. From Dimension, drag and drop Region and Sub Region to Columns.
3. From Measure, drag and drop Profit to Text on the Marks card.
BE
4. From Measure, drag and drop Profit to Color on the Marks card.
CY
5. From Analysis, go to Totals, show Row Grand Total and show Column Grand Total.
6. Edit the color and check the Include Total option.
7. Change Marks Type from Automatic to Square.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Use calculated fields when your underlying data does not contain all of the values you need for your
analysis. The calculated field editor supply many calculation types. A calculation can be include some
or all of the following components.
Component Description
Functions Functions you can use to create a formula, available from the drop-down menu.
By default all functions are displayed.
Operators Operators must be typed manually. All standard operators, such as addition (+),
subtraction (-), multiplication (*), modulo (%) and division (%) as well as
comparisons (==, =, >, <, >=, <=, !=, <>) and logical (AND, OR, NOT)
AL
Y
EM
Parameters Placeholder variables that can be inserted into calculations to replace contstant
TI
value.
AD
PY
EN
Comments Insert custom comments for your calculations as a means of annotation for
AC
CO
ID
TA
T
NO
CO
DA
ND
Tableau has both predefined calculations, and tools for developing your own calculations.
RE
Calculation Description
RT
Calculated Field Custom calculations created using the Calculated Field editor and
BE
Table Calculation including Calculations computed locally using only the data in a view. Some
Quick Table Calculation predefined Table Calculations are available as Quick Table
Calculations, but you can also specify the components of the
formula for Table Calculations yourself.
Row and Column Totals Predefined calculation available on the Analysis menu including
subtotals and grand totals. These are a type of table calculation.
1. Type them directly on Columns, Rows, or the Marks card. This method is referred to as ad-hoc
calculations.
As you type the components of the calculations, Tableau suggests functions or field to complete your
formula:
AL
Y
EM
TI
AD
PY
EN
To save the calculation to your data source, drag the calculation to the data pane, and when prompted,
AC
CO
ID
TA
T
NO
DA
1. Click the Analysis menu and choose Create Calculated Field OR Right-click in the Data pane and
DO
ND
2. Type the formula in the formula window, and click Apply to save the calculation and keep the editor
open, or click OK to save the calculation and close the dialog box.
RT
The dialog box allows you to move between windows while it remains open.
BE
CY
Red squiggly line Syntax error. Hover over the error to see directions to fix it.
//Green text Comments. These are ignored by the calculation but are useful
for documenting the calculation logic.
Y
Use “or” for string fields.
EM
TI
AD
PY
EN
You can use the formula editor to create many different types of calculated fields. It is not possible to
ID
list them all here, but some of the most commonly used types of calculated fields in Tableau include:
NF
TA
T
NO
DA
•
ND
When you join or blend to sources, you can have some records with no value (NULL) in the shared
field. You can’t do math with null values, because null + <any number> = null, but you can use the ZN
function to replace NULL values with zero (0), which will then allow you to perform any required math
functions.
In some circumstances aggregation should not be applied (for example, when computing line-item
calculations, which should be computed for each record, row by row).
AL
Y
EM
TI
Direction:
AD
PY
EN
AC
CO
TA
T
NO
DA
ND
3. Create Calculated Field named “Profit Ratio” using the formula: [Profit] / [Sales] and change the
RE
Note: Test the calculation: does the Profit Ratio field return the correct results?
BE
Notice that no space is included between the first name and last name. You need to insert the space
in the formula, like this: “First Name” + “ Last Name” = First Name Last Name
Logical Functions
Use logical functions to create specific views from a data source without
changing the source itself. For example, combine different members of a
dimension, or filter a segment out of a view. AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
TA
T
NO
DA
CASE Functions Used to perform a logical test and return values based on the result.
DO
benefit of being to define a value with the final argument if the test
BE
Create a view showing the results of an ad-hoc calculation of KPI Profit Ratio broken down by year and
Region.
Direction:
AL
Y
EM
Open Logical_Starter.twbx and create a view according to the following specification:
TI
AD
1. From Dimension, drag and drop Region to Rows and Order Date (Year) to Columns.
PY
EN
2. From Measure, drag and drop Profit Ratio to Text on Marks card.
AC
CO
ID
3. Create Calculated field named “ KPI Profit Ratio” with this formula :
NF
TA
T
DA
4. From Measure, drag and drop KPI Profit Ratio into Color Marks.
DO
ND
Create a view showing the results of an ad-hoc calculation of KPI Profit Ratio for each products broken
RT
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Here is an example of a date calculation that adds 3 months to the Order Date field.
AL
Y
DATEPARSE allows you to change a string into a recognized date field.
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Direction:
1. Create a calculated field named “Days to Ship” that calculates the number of days between the
date an order was placed and the date the order was shipped. Use the DateDiff function to create
this formula: DATEDIFF('day',[Order Date],[Ship Date])
2. Change the default aggregation for Days to Ship from SUM to Average (AVG).
3. From Measure, drag and drop Day to Ship to Text on marks card
4. From Dimension, drag and drop Order Priority and Customer Segment to Rows.
5. From Measure, drag and drop Shipping Cost into view. Now, you can see the Measure Names on
Columns and Filters.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Table calculations have a scope of Table, Pane, and Cell, which defines the area where the calculation
is performed or for each group the calculation is computed.
Table calculations also have a specific direction of across (default) or down along which the calculation
is computed.
Y
1. Right-click any measure in a worksheet and choose Add Table Calculation.
EM
TI
2. Use the Table Calculation dialog box to set up the calculation you want to use, for example Percent
AD
PY
EN
3. Observe how the view changes as the table calculation scope and direction are modified, for
NF
TA
T
DA
Levels of Control
DO
ND
Table calculations have four levels of user control, described below from simplest to most complex to
RE
Quick Table Calculation Accessible from the measure in the view, which will modify the
CY
Add Table Calculation For more control in creating the table calculation from an
existing measure, accessible from the measure in the view.
Edit Table Calculation Available from the measure in the view once a table calculation
has been applied, and allows changes in the direction and scope.
Custom Table Calculation Available by saving the table calculation (drag and drop the field
with the table calculation applied from your worksheet to the
Data pane), and then open the saved calculation in the
Calculated Field editor. Additionally, it can be written from
scratch with the Calculated Field editor.
Quick table calculations use a default direction for operations, such as “Table (across)”. They also use
a default comparison type, such as the measure compared to the “previous” cell. You can change the
direction with the Compute Using context menu, and change the comparison using the Relative To
context menu.
Y
EM
Difference Calculates the difference from previous column, across a table.
TI
AD
PY
EN
Percent Difference Calculates the percent difference from previous column, across
a table.
AC
CO
ID
Percent of Total Calculates the values percent of the total sum in a table.
NF
TA
T
Rank Calculates the integer rank of the value across the table.
NO
CO
DA
Percentile Calculates the statistical percentile of the value across the table.
DO
ND
Moving Average Calculates the average value based on a range around the
current value. Used to smooth short term fluctuations.
RE
YTD Total Calculates the running total from the beginning of the year
RT
Compound growth rate Calculates the current value as a percentage from the first value.
CY
Year over Year growth Calculates a percentage from the first value compared to the
same period in the previous year.
YTD Growth Calculates a percentage change from the same time period in the
previous year and then calculates a running total over a year.
• On a measure field in a view, click the drop-down menu → select Quick Table Calculation → choose
the calculation type.
• Change the Compute Using option: Allows you to change the computation from the default to
another option, for example, Table (Down) or Pane (Down). Options are contextual.
• Edit Table Calculation: Opens the table calculation dialog box, which has more editing options.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
Directions:
BE
specification:
1. Drag Customer Segment, Order Date (set discrete quarter) to Rows
2. Drag Order Date (discrete year) to Columns
3. Drag Sales to Text Label
4. Edit Sales on Text Label, right click and Quick Table Calculation choose Running Total, right
click one more time then select Compute Using, choose Pane (down).
5. From measure, drag Sales to the view then place it right before Running Total.
6. Save the workbook.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
Directions:
RT
specification:
1. From Dimension, drag and drop Order Date to Columns.
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
1. On the Marks card, select Pie Charts from drop-down list of marks type.
AL
Y
2. Drag the dimension field you want to slice to Color on the marks card.
EM
TI
3. Drag the measure that determines the Size of each slice to Angle on the Marks card.
AD
PY
EN
AC
CO
Create a pie chart to show how sales for each segment compare as a percentage of total sales
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Directions:
1. Open Percent_of_Total_Starter.twbx and create a view according to the following
specification:
2. Change the mark type to Pie.
3. Create the initial view, drag Segment to Color on the Marks card, Sales to Angle on the Marks
card,and sales to Label on the Marks card.
4. Calculate Sales as a percent of total. (Hint: right click on Sales on the marks card)
5. Save the workbook.
Y
Create a tree map that uses color for each region and size to visualize sales. Add a highlighter to the
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Directions:
Reference Bands
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
TA
1. Right-click on the axis to be used for the reference line, and choose Add Reference Line → choose
T
NO
CO
DA
Line.
2. Under Scope, specify Entire Table, Per Pane, or Per Cell.
DO
ND
3. Under Line, set the Value compulation to mark on the axis. You can select from the following
RE
options:
RT
Option Description
Average Places a line at the average value along the axis.
BE
5. Format the line using this options shown on the dialog box, and click OK.
Reference Bands
Reference bands show data that falls within a certain window value, and display as shaded areas
between two constant or computed values. You can use the computed values used for reference lines.
Most of the functions are calculated after data is returned.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
1. Right-click on the axis to be used for the reference line, and choose Add Reference Line → choose
CY
Band.
2. Under Scope, specify Entire Table, Per Pane, or Per Cell.
3. Under Band From, set the Value computation to mark on the axis. You can select from the following
options:
Option Description
Average Places a band at the average value along the axis.
Constant Places a band at the specified value along the axis.
Maximum Places a band at the maximum value.
Median Places a band at the median value.
Minimum Places a band at the minimum value.
Sum Places a band at the SUM of all the values in either the cell, pane, or entire
view.
4. Under Band To, set the Value computation to mark the other end of the band.
5. Select how you want to label the line:
Option Description
None Select this option to not include a label for the reference line.
Value Select this option to include a label that is the corresponding value on the
AL
Y
axis.
EM
TI
Computation Select this option to display an automatic label. The label is based on the
AD
PY
computation and the measure that is selected.
EN
Custom Use to type a custom label into the text box. You can use the menu to the
AC
CO
ID
right of the text box to insert values such as the computation or the value.
NF
TA
T
NO
6. Formatting is available for the band, and for the lines that mark either ends of the band.
CO
DA
DO
ND
RE
RT
BE
CY
View One:
You have a bar chart that shows sales by date. Add a constant reference line that shows the sales
quota so you can easily see where sales have been slow.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
Direction:
NF
ND
• Reference: Line
•
RT
Starting with a duplicate of the first worksheet, delete the quota reference line. Change the view to
show sales for each region broken down by year. Then, add a new reference line so you can compare
the average sales.
AL
Y
EM
TI
AD
PY
EN
Directions: AC
CO
ID
TA
T
DA
ND
• Reference: Line
RT
• Scope: Pane
BE
Label: Value
• Formatting: Line > Red color
Dashboards
Dashboard Actions
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
Similar to worksheets, dashboards are shown as tabs at the bottom of the workbook and update with
T
NO
CO
the most recent data from the data source. When you create a dashboard, you can add views from
DA
any worksheet in the workbook. You can also add a variety of supporting objects such as text areas,
DO
ND
web pages, and images. From the dashboard, you can format, annotate, drill-down, edit axes, and
RE
more.
RT
The views in a dashboard are connected to the worksheets they represent. When you make changes
CY
to a view, either on the worksheet directly or on its dashboard representation, both locations will
show your changes. This interaction is important to remember when configuring the views in your
dashboard.
• Click the view on the dashboard to select it. In the upper right corner
of the view’s border, click the small gray drop – down arrow, and then
click Go to Sheet on the menu.
Duplicate a Worksheet
• Click the view on the dashboard to select it. In the upper
right corner of the view’s border, click the small gray drop-
down arrow, and then click Duplicate Sheet on the menu.
Hide a Worksheet
You can hide worksheets so that they are not shown in the filmstrip,
AL
Y
EM
sheet sorter, or in the tabs along the bottom of the workbook.
TI
AD
PY
• Right-click on the worksheet tab, and then select Hide Sheet.
EN
AC
CO
ID
NF
TA
T
Dashboard objects can be tiled or floating. Tiled objects are arranged in a grid,
DA
ND
RE
RT
BE
CY
AL
Y
EM
TI
AD
PY
EN
AC
CO
1. If you wish to add a layout for a particular device, choose Device Layouts on the Dashboard menu,
NF
TA
T
and click the desired device type, or click the Add > Device Type > Layout button.
NO
CO
DA
When a device layout is added, you will see it appear on the Dashboard tab, under the Default
DO
dashboard layout.
ND
RE
RT
BE
CY
The default dashboard is the parent dashboard and device specific layouts are the children.
2. To customize the new dashboard layout, click the Custom button. Objects can be rearranged or
removed, as desired. Changes are specified to the device layout. The default dashboard will remain
the same.
You can also use the worksheets in the dashboard as filters for the other views in the dashboard. To
use a worksheet as a filter:
Y
• Or click the drop-down arrow and choose Use as Filter.
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
Tableau enables you to connect dashboard worksheets to other worksheets in the same workbook
CY
using Highlight and Filter actions, and to external web resources using URL actions.
Highlight Actions
Use highlight actions to call attention to marks of interest by coloring select marks and dimming all
others. You can highlight marks in the view by selecting the marks you want to highlight, using the
color legend to select related marks, or creating an advanced highlight action.
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
DA
2. In the Actions dialog, click the Add Action button, and then select Highlight.
DO
Source Sheets Sheets(s) containing the marks you are using to initiate your
highlighting.
BE
Run action on Choose Hover, Select, or Menu (see Options for Running Actions
CY
Use filter actions to send information between worksheets, typically from a selected mark to another
sheet showing related information.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
2. In the Actions dialog, click the Add Action button, and then select Filter.
DO
ND
Source Sheets Sheets(s) containing the marks you are using to initiate your
BE
filtering.
Run action on Choose Hover, Select, or Menu (see Options for Running
CY
AL
Y
EM
TI
AD
PY
EN
2. In the Actions dialog, click the Add Action button, and then select URL.
AC
CO
ID
TA
T
DA
URL URL link of the outside data source you want to use.
RE
URL Options URL Encode Data Values: if you have values in your data that
are not allowable in a URL, select the option so those values
RT
4. Click OK. For the URL action shown in the image above,
the following options were selected.
Note: the use of <Well Name>, one of the Dimensions
from the source worksheet, in the URL text (Name) and
link (URL).
Note: To simply navigate from one dashboard to another, without requiring users to interact with
data, consider using the Button object.
AL
Y
EM
TI
AD
PY
EN
AC
CO
ID
TA
T
NO
DA
2. In the Actions dialog box, click Add Action and then select Go to Sheet.
3. Specify a name for action. (If you choose to run the action using a menu, the name you specify
DO
ND
5. Specify how people viewing your dashboard will run the action. Select or Menu are the best
RT
6. For Target Sheet, select the navigation destination that appears when users click marks or
tooltip menu items in the source sheet. Then click OK.
You can set all types of dashboard actions to run in one of three ways: Hover, Select, Menu.
Y
EM
TI
view)
AD
PY
• Make the Pie Chart (view one) interactive by choosing Use a Filter.
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY
Direction:
View One: - Drag Region from Dimensions to Color on the Marks card.
Y
- Change Automatic to Circle and add black border on the Marks card
EM
TI
AD
PY
EN
Dashboard: - Drag the three worksheets onto the dashboard space in a way that is visually
AC
CO
ID
appealing
NF
TA
T
NO
- Set the View One and View Three to fit entire view, Set View Two to Normal fit.
CO
DA
- Remove unnecessary legend items, or move them closer to the view they reference
DO
- Make the Order Date (Year) filter global (that is, the filter applies to all worksheets in
ND
the view)
RE
RT
Make the Pie Chart (view one) interactive by choosing Use a Filter.
BE
CY
Y
EM
TI
AD
PY
EN
AC
CO
ID
NF
TA
T
NO
CO
DA
DO
ND
RE
RT
BE
CY