Tableau Desktop Training Notes Environment
Tableau Desktop Training Notes Environment
Get Started
Take a tutorial that tells a data story, or follow steps through opening Tableau, building and
enhancing a view, and saving your work. This section includes:
Build-It-Yourself Exercises – Create popular view types based on sample data sources that
come with Tableau.
The Tableau Environment – Learn what elements of the Tableau UI are called.
Tableau Concepts – Dig into the ideas behind the terms and behaviors you see in Tableau.
Page | 1
The Tableau Environment
This section provides information on the various panes, shelves, pages, icons, and other
elements that comprise the Tableau Desktop environment.
Start Page
Data Source Page
The Tableau Workspace
Reorganize your Workspace
Helpful Visual Cues in Tableau
Start Page
The start page in Tableau Desktop is a central location from which you can do the following:
Connect to your data
Open your most recently used workbooks, and
Discover and explore content produced by the Tableau community.
The start page consists of three panes: Connect, Open, and Discover.
Page | 2
Connect
Connect to data and open saved data sources.
Open
Open recent workbooks, pin workbooks to the start page, and explore sample workbooks.
Page | 3
On the Open pane, you can do the following:
Open recently opened workbooks: When you open Tableau Desktop for the first time,
this pane is empty. As you create and save new workbooks, the most recently opened
workbooks appear here. Click the workbook thumbnail to open a workbook, or if you
don't see a workbook thumbnail, click the Open a Workbook link to find other
workbooks that are saved to your computer.
Pin workbooks: You can pin workbooks to the start page by clicking the pin icon that
appears in the top-left corner of the workbook thumbnail. Pinned workbooks always
appear on the start page, even if they weren't opened recently. To remove a recently
opened or pinned workbook, hover over the workbook thumbnail, and then click the "x"
that appears. The workbook thumbnail is removed immediately but will show again with
your most recently used workbooks the next time you open Tableau Desktop.
Explore sample workbooks: Open and explore sample workbooks.
Page | 4
Discover
See popular views in Tableau Public, read blog posts and news about Tableau, and find training
videos and tutorials to help you get started.
Page | 5
Data Source Page
Before or during your analysis, you may want to make changes to the Tableau data source. You
can do that on the data source page. Tableau takes you to the data source page after you
establish the initial connection to your data. You can also access the data source page by clicking
the Data Source tab from any location in the workbook.
Although the look of the page and the options available vary depending on the type of data that
you are connected to, the data source page generally consists of four main areas: left pane,
canvas, data grid, and metadata grid.
Left pane
The left pane of the data source page displays details about your data, that is the data that
Tableau Desktop is connected to.
For file-based data, the left pane might display the file name and the worksheets in the file.
For relational-based data, the left pane might display the server, the database or schema, and
the tables in the database.
Page | 6
You can also use the left pane to add more connections to the data source to create cross-
database joins.
The left pane does not display for cube (multidimensional) data.
Canvas
When connected to most relational and file-based data, you can drag one or more tables to the
canvas area to set up your Tableau data source.
When connected to cube data, the top of the data source page displays the available catalog or
queries and cubes to select from to set up your Tableau data source.
Data grid
Use the data grid to review the fields and the first 1,000 rows of the data contained in the
Tableau data source. You can also use the data grid to make general modifications to the
Tableau data source like sorting or hiding fields; renaming fields or resetting field names;
creating calculations; changing the column or row sort; or adding aliases. For the Web Data
Connector, file- and relational-based data sources in Extract mode, you can see extract data in
the grid, including extract only calculations.
To select multiple fields in the grid, click a column, and then drag the mouse to select more
columns. To select all fields, click the area in the upper-left corner of the grid like in the
example, below.
Metadata grid
Depending on the type of data that you are connected to, click the metadata grid button to
navigate to the metadata grid. The metadata grid displays the fields in your data source as rows
Page | 7
so that you can quickly examine the structure of your Tableau data source and perform routine
management tasks, such as renaming fields or hiding multiple fields at once.
When connected to cube or some extract only data, the metadata grid displays by default.
A. Workbook name.
B. Cards and shelves - Drag fields to the cards and shelves in the workspace to add data to your
view.
C. Toolbar - Use the toolbar to access commands and analysis and navigation tools.
D. View - This is the workspace where you create your data visualizations.
E. Go to the start page. For more information, see Start Page.
F. Side Bar. The side bar provides two panes: the Data pane and the Analytics pane.
Page | 8
G. Go to the data source page. For more information, see Data Source Page.
H. Status bar - Displays information about the current view.
I. Sheet tabs - Tabs represent each sheet in your workbook. This can include worksheets,
dashboards and stories. For more information, see Sheets.
The Side Bar provides two panes: the Data pane and the Analytics pane.
You can hide and show the Side Bar by clicking the icon in the upper right corner.
To open the Side Bar again, look for that same icon in the lower left corner of the Tableau
window:
Data Pane
Tableau displays your data fields in the Data pane on the left side of the workspace. You can
toggle between the Data and Analytics panes:
To view all the data sources used in the workbook, click the drop-down arrow next to the data
source that is displayed.
Page | 9
To view a context menu for the data source, click Data in the top menu and then click on the
data source in the menu list.
To search for fields in the Data pane, click the magnifying class icon and then type in the text
box.
To see the underlying data, click the View Data icon at the top
of the Data pane.
To convert a measure to a dimension, drag the measure and drop it into the Dimensions area in
the Data pane.
Page | 10
Analytics Pane
The Analytics pane provides quick and easy access to common analytic features in Tableau. You
can drag reference lines, box plots, trend lines forecasts, and other items into your view from
the Analytics pane, which appears on the left side of the workspace. Toggle between
the Data pane and the Analytics pane by clicking one of the tabs at the top of the Side Bar:
There isn't anything you can add to a view from the Analytics pane that you couldn't add by
some other means—for example, reference lines and bands are available when you edit an axis,
and trend lines and forecasts are available from the Analysis menu. The Analytics pane just
makes the process easier by offering drag-and-drop access for the various options.
Every worksheet in Tableau contains shelves and cards. By placing fields on shelves or cards,
you can create the rows and columns of a data view, exclude data from the view, create
pages, and control mark properties. You should experiment placing fields on different
shelves and cards to find the optimal way to look at your data.
Page | 11
Parts of the View
This section describes the basic components of the views you can create in Tableau. The parts of
a view can be categorized as either table components, which are part of every view, or optional
components, which can be turned on or off.
Table Components
Data views are displayed in a table on every worksheet.
A table is a collection of rows and columns, and consists of the following components: Headers,
Axes, Panes, Cells, and Marks. In addition to these, you can choose to show Titles, Captions,
Field Labels, and Legends.
A. Field label - The label of a discrete field added to the row or column shelf that describes
the members of that field. For example, Category is a discrete field that contains three
members; Furniture, Office Supplies and Technology.
B. Title - The name that you give your worksheet, dashboard, or story. Titles display
automatically for worksheets and stories and you can turn them on to display them in your
dashboards.
C. Marks - The data that represents the intersection of the fields (dimensions and measures)
included in your view. Marks can be represented using lines, bars, shapes, maps and so on.
D. Legend - A key that describes how the data is encoded in your view. For example if you
use shapes or colors in your view, the legend describes what each shape or color represents.
E. Axis - Created when you add a measure (fields that contain quantitative, numerical
information) to the view. By default, Tableau generates a continuous axis for this data.
F. Headers -The members of a field.
Page | 12
G. Caption - Text that describes the data in the view. Captions can be automatically
generated and can be toggled on and off.
Tableau uses a workbook and sheet file structure, much like Microsoft Excel.
A workbook contains sheets, which can be a worksheet, a dashboard, or a story.
A worksheet contains a single view along with shelves, legends, and the Data pane.
A dashboard is a collection of views from multiple worksheets.
A story contains a sequence of worksheets or dashboards that work together to convey
information.
Within a workbook, you can create new sheets, clear an entire worksheet, duplicate sheets, hide
or show a worksheet, and delete a sheet.
Tableau has several ways to view and organize the sheets in your workbook.
You can save your work using several different Tableau specific file types: workbooks,
bookmarks, packaged data files, data extracts, and data connection files.
Each of these file types are described below.
Workbooks (.twb) – Tableau workbook files have the .twb file extension. Workbooks
hold one or more worksheets, plus zero or more dashboards and stories.
Bookmarks (.tbm) – Tableau bookmark files have the .tbm file extension. Bookmarks
contain a single worksheet and are an easy way to quickly share your work.
Packaged Workbooks (.twbx) – Tableau packaged workbooks have the .twbx file
extension. A packaged workbook is a single zip file that contains a workbook along with
any supporting local file data and background images. This format is the best way to
package your work for sharing with others who don’t have access to the original data.
Data Extract (.tde) – Tableau data extract files have the .tde file extension. Extract files
are a local copy of a subset or entire data that you can use to share data, work offline,
and improve database performance.
Data Source (.tds) – Tableau data source files have the .tds file extension. Data source
files are shortcuts for quickly connecting to the original data that you use often. Data
source files do not contain the actual data but rather the information necessary to
connect to the actual data as well as any modifications you've made on top of the actual
data such as changing default properties, creating calculated fields, adding groups, and
so on.
Packaged Data Source (.tdsx) – Tableau packaged data source files have the .tdsx file
extension. A packaged data source is a zip file that contains the data source file (.tds)
described above as well as any local file data such as Extract files (.tde), text files, Excel
files, Access files, and local cube files. Use this format to create a single file that you can
Page | 13
then share with others who may not have access to the original data stored locally on
your computer.
These files can be saved in the associated folders in the My Tableau Repository directory, which
is automatically created in your My Documents folder when you install Tableau. Your work files
can also be saved in other locations, such as your desktop or a network directory.
Status Bar
The status bar is located at the bottom of the Tableau workspace. It displays descriptions of
menu items as well as information about the current view.
For example, the status bar below shows that the view has 143 marks shown in 3 rows and 12
columns. It also shows that the SUM(Sales) for all the marks in the view is $2,297,201.
You can hide the status bar by selecting Window > Show Status Bar.
Occasionally, Tableau will display warning icons in the bottom right corner of the status bar to
indicate errors or warnings.
Page | 14
Reorganizing the Workspace
Every worksheet contains a variety of cards, shelves, legends, and so on. You can reorganize the
workspace by rearranging cards, hiding and showing specific parts of the workspace, and hiding
everything but the view using Presentation Mode.
Rearranging Cards
A worksheet contains several cards that contain shelves, legends, and other controls. Each card
can be rearranged to create a custom workspace. To move a card, point the cursor at the title
area of the card you want to move. When the cursor becomes the move symbol , click and
drag the card to a new position. As you drag the card around the worksheet, the possible
positions for it are highlighted with a black bar.
You can restore the worksheet windows to their default state by selecting Reset Cards on the
Show/Hide Cards toolbar control.
Page | 15
To show and hide the toolbar or status bar, select Window and then select what you
want to hide.
To show and hide the window on the left side, which is either the Data pane (for
worksheets), the Dashboard pane (for dashboards), or the Dashboards and Sheets pane
(for stories); click the Minimize button in the upper right corner of the pane. The
pane is minimized to the bottom left corner of the workbook. Click the same button
again to restore the pane.
To show or hide a card click Show/Hide Cards on the toolbar and then select the
card you want to show or hide.
You can restore the worksheet windows to their default state by selecting Reset Cards on
the Show/Hide Cards toolbar control.
Presentation Mode
Sometimes you may want to use Tableau to present your findings. Rather than hiding each card
or shelf one at a time, you can switch to presentation mode. Presentation mode hides
everything on the sheet except for the view and its associated legends, filter cards, parameter
controls, and worksheet tabs.
To switch in and out of presentation mode, click the Presentation Mode button on
the toolbar or select Window > Presentation Mode.
Use the presentation mode controls in the bottom right corner to move between sheets and
more. Each presentation mode control is described below.
Show Filmstrip - shows the sheets as thumbnails at the bottom of the workspace.
Show Tabs - shows the sheet tabs at the bottom of the workspace.
Enter/Exit Full Screen - switches between expanding the workbook to fill the entire
screen and showing it in a window.
Exit Presentation Mode - returns the workbook to showing the entire workspace
including the menus, toolbar, and the Data pane.
Page | 16
Visual Cues and Icons in Tableau Desktop
Tableau provides many visual cues to help you evaluate the type of data that’s displayed in the
Data pane and the state of a data view.
The following table explains each of the icons used to describe the type of data sources in the
Data pane. Each icon in the table can be modified by one of two indicators.
A blue check mark indicates that the data source is the primary data source in the
workbook.
An orange check mark indicates that the data source is the secondary data source in the
workbook.
The workbook is connected to a data source that has been published to Tableau
Server.
Page | 17
Icons preceded by the equal sign (=) indicate that the field is a user-defined calculation
or a copy of another field.
The field contains geographical data and has been assigned a geographic role.
Use these fields when building map views.
The field contains geographical data from an active custom geocoding file.
Page | 18
The field is a user-defined set..
A folder that contains one or more fields. Folders are used to organize fields in
the Data pane.
The field is a level in a multidimensional hierarchy. Levels greater than five are
shown without numbers.
Page | 19
The field is not blended with a field from another data source.
Fields on Shelves
Fields placed on shelves use a combination of icons, colors, and text styles as visual cues.
Page | 20
A gray field on the Filters shelf indicates a context filter.
The plus and minus controls appear when the field is part of a
hierarchy that you can traverse.
Page | 21
Visual Cue Description
The following table explains each of the icons used to describe the type of sheet that can be
placed in a story. A blue check mark indicates that a sheet is being used in one or more story
points.
Page | 22
Visual Cue Description
Tableau Concepts
Why are some fields dimensions and others measures?
What effect will adding a filter have on my view?
Why is the background color blue for some fields, and green for others?
The topics in this section attempt to clarify these and other questions about what you can see
and experience as you use Tableau Desktop.
Data Types
Field Types
Aggregations
Data Types:
All fields in a data source have a data type.
The data type reflects the kind of information stored in that field, for example integers (410),
dates (1/23/2015) and strings (“Wisconsin”). The data type of a field is identified in the Data
pane by one of the icons shown below.
Page | 23
Icon Data type
Date values
Numerical values
You can change the data type for a field either on the Data Source page or in the Data pane.
Change the data type for a field in the Data Source page
Sometimes Tableau incorrectly interprets the data type of a field.
For example, Tableau might interpret a field that contains dates as an integer data type, rather
than a date data type.
You can change the data type for a field that was part of the original data source (as opposed to
a calculated field created in Tableau) on the Data Source page.
1. Click the field type icon for the field (as shown in the table above).
2. Choose a new data type from the drop-down list:
Page | 24
Change the data type for a field in the Data pane
To change the data type of a field in the Data pane, click the icon to the left of the field name,
and then choose a new data type from the drop-down list.
Page | 25
Change the data type for a field in the view
To change a field's data type in a view, right-click (control-click on a Mac) the field in
the Data pane, choose Change Data Type, and then select the appropriate data type from the
drop-down list.
Field Types
When you connect to a new data source, Tableau assigns each field in the data source to either
the Dimensions area or the Measures area of the Data pane, depending on the type of data the
field contains. If a field contains categorical data (such as names, dates, or geographical data),
Tableau assigns it to the Dimensions area. If a field contains numbers, Tableau assigns it to the
Measures section.
So is it correct to say that a dimension is a field that contains categorical data, such as names,
dates, or geographical data, and that measure is a field that contains numbers? Those assertions
are accurate enough as a starting point, but as you work in Tableau, remember that you control
the definition of a field in the view. Most fields can be used as either a dimension or as a
measure, and can be either continuous or discrete, according to the requirements of the user.
Tableau's initial assignment of fields to either the Dimensions area or the Measures area
establishes a default. When you click and drag a field from the Data pane to a view, Tableau
continues to provide a default definition for the field. If you are dragging a field from the
Dimensions area, the resulting field in the view will be discrete (with a blue background). If you
are dragging a field from the Measures area, the resulting field will be continuous (with a green
background).
By default, dimensions are discrete and measures are continuous, but in fact all four
combinations are possible:
Page | 26
discrete dimensions
discrete measures
continuous measures
When you connect to a data source, Tableau assigns each field in the data source as playing one
of two possible data roles: dimension or measure. What effect do these assignment have when
you start working with data in Tableau?
Dimensions
When you first connect to a data source, Tableau assigns any fields that contain discrete categorical
information (for example, fields where the values are strings or Boolean values) to
the Dimensions area in the Data pane.
When you click and drag a field from the Dimensions area to Rows or Columns, Tableau creates
column or row headers.
Any field you drag from the Dimension area will initially be discrete when you add it to a view,
with a blue background. For this reason, it might be easy to assume (incorrectly, as it turns out)
that a field's background color indicates whether it is a dimension or a measure. But Date
dimensions and numeric dimensions can be either discrete or continuous, and all measures can
Page | 27
be discrete or continuous. A field's background color indicates whether it is discrete (blue) or
continuous (green).
After you drag a dimension to Rows or Columns, you can change the field to a measure just by
clicking the field and choosing Measure. Now the view will contain a continuous axis instead of
column or row headers, and the field's background will become green:
If you want to make a dimension continuous (without first converting it into a measure), your
options are limited. This is only possible with Date dimensions, which can be discrete or
continuous but are always dimensions, and with numeric dimensions. You cannot convert
dimensions containing strings or Boolean values.
Tableau does not aggregate dimensions. If you want a field's values to be aggregated, that field
must be a measure. When you convert a dimension into a measure, Tableau will always prompt
you to assign it an aggregation (Count, Average, etc.). Aggregation means collecting multiple
values (individual numbers) into a single number by, for example, counting the number of
individual values, averaging them, or displaying the smallest individual value for any row in the
data source.
In Tableau queries, dimensions in the view are expressed in SQL as "Group By" clauses.
Measures
When you first connect to a data source, Tableau assigns any fields that contain quantitative,
numerical information (that is, fields where the values are numbers) to the Measures area in
the Data pane.
When you drag a field from the Measures area to Rows or Columns, Tableau creates a
continuous axis.
Page | 28
Any field that you drag from the Measures area will initially be continuous when you add it to
the view, and so its background will be green. But if you then click the field and choose Discrete,
the values become column headers.
Tableau continues to aggregate values for the field, because even though the field is now
discrete, it is still a measure, and Tableau will always aggregate measures.
Page | 29
Recognizing the difference
If a field is continuous, the background color is green. If it is discrete, the background color is
blue.
Background color does not indicate dimension vs. measure — it indicates continuous vs.
discrete.
What tells you whether a field in the view is a measure or a dimension is whether it is
aggregated.
On the left below you see a view where Quantity, which was dragged from the Measures area
of the Data pane, has been converted from a measure to a dimension but is still continuous,
with an axis along the bottom of the view. We know that the field is continuous because of the
axis and because the background is green. We know that it is a dimension because it is not
aggregated.
On the right, you see a view where that view has been further modified by clicking Quantity on
the Columns shelf and choosing Discrete. Now there are headers along the bottom of the view,
instead of an axis.
Continuous Discrete
Aggregations
Sometimes it is useful to look at numerical data in an aggregated form such as a summation or
an average.
The mathematical functions that produce aggregated data are called aggregation functions.
Aggregation functions perform a calculation on a set of values and return a single value.
Page | 30
For example, a measure that contains the values 1, 2, 3, 3, 4 aggregated as a sum returns a
single value: 13. Or if you have 3,000 sales transactions from 50 products in your data source,
you might want to view the sum of sales for each product, so that you can decide which
products have the highest revenue.
You can use Tableau to set an aggregation only for measures in relational data sources.
Multidimensional data sources contain aggregated data only.
Tableau provides a set of predefined aggregations that are shown in the table below. You can
set the default aggregation for any measure that is not a calculated field that itself contains an
aggregation, such as AVG ([Discount]).
3 values (1, 2,
Dimension Returns all unique values in a measure or dimension.
3)
1 value (8)
Sum Returns the sum of the numbers in a measure. Null values are
ignored.
1 value (2)
Average Returns the arithmetic mean of the numbers in a measure. Null
values are ignored.
1 value (2)
Median Returns the median of the numbers in a measure. Null values
are ignored.
Page | 31
dimension. Null values are ignored.
Std. Dev Returns the standard deviation of all values in the given 1 value
expression based on a sample population. Null values are (0.8165)
ignored. Returns a Null if there are fewer than 2 members in
the sample that are not Null. Use this function if your data
represents a sample of the population.
Std. Dev Returns the standard deviation of all values in the given 1 value
(Pop.) expression based on a biased population. Assumes that its (0.7071)
arguments consist of the entire population. Use this function
for large sample sizes.
Variance Returns the variance of all values in the given expression based 1 value
on a sample. Null values are ignored. Returns a Null if there are (0.6667)
fewer than 2 members in the sample that are not Null. Use this
function if your data represents a sample of the population.
Variance Returns the variance of all values in the given expression based 1 value
(Pop.) on a biased population. Assumes that its arguments consist of (0.5000)
the entire population. Use this function for large sample sizes.
4 values (1, 2,
Disaggregate Returns all records in the underlying data source. To
2, 3)
disaggregate all measures in the view, select Aggregate
Measures from the Analysis menu (to clear the check mark).
Tableau allows you to view data in disaggregated form
(relational databases only). When data are disaggregated, you
can view all of the individual rows of your data source.
If you place one measure on the Rows shelf and another measure on the Columns shelf, you are
asking Tableau to compare two numerical values. Typically, Tableau chooses a scatterplot as the
default visualization in such cases. The initial view can be disappointing—a single mark, showing
the sum for all values for the two measures. There are various ways to add detail to a basic
scatterplot: you can use dimensions to add detail, you can add additional measures and/or
dimensions to the Rows and Columns shelves to create multiple one-mark scatter plots in the
view, or you can disaggregate the data. (Or you can use any combination of these options.) This
Page | 32
topic looks at these alternatives, and uses the Sample-Superstore data source. To create the
initial view, follow these steps:
1. Place the Sales measure on the Columns shelf.
2. Place the Profit measure on the Rows shelf.
The measures are automatically aggregated as sums. The default aggregation (SUM) is indicated
in the field names. The values shown in the tooltip show the sum of sales and profit values
across every row in the data source.
Follow the steps below to use dimensions to add detail to the view and to disaggregate data.
Page | 33
Page | 34