Tableau Lecture 1
Tableau Lecture 1
Agenda
● Part A : Introduction to Data Visualization and Tableau
○ Discover what data visualization is, and how we can use it to better understand
data.
○ We acquaint ourselves with the history of data visualization and get introduced to
Tableau. Then, we get an idea about the various Tableau product offerings.
○ We also learn about the pros and cons of Tableau.
○ Finally, we see how to download and install Tableau Public.
● Part B : Tableau Public GUI and Basics
○ In this section, you will get a brief idea about the Tableau UI components,
different data types and various fields in Tableau.
Why BI?
It helps companies make better decisions by showing present and historical data within their
business context.
Brief History
● Until the early 21st century, Database, Excel, Access etc were used to produce numbers
and data.
● The main idea behind Tableau’s creation was to make the database industry interactive
and comprehensive.
● Tableau is a popular data visualization and business intelligence tool used for reporting
and analyzing vast volumes of data.
● Tableau was founded by Pat Hanrahan, Christian Chabot, and Chris Stolte from
Stanford University in 2003.
Pros of Tableau
● Quick and interactive visualizations
● Easy to use for non programmers
● High performance
● Mobile friendly
● Extensive customer resources (Tableau Community)
● Working with different data sources
● Easy to upgrade
Cons of Tableau
● Focuses primarily on visualization and cannot work with uncleaned data. In order to
efficiently use Tableau, you need to do proper data cleaning in the underlying database
first.
● Lacks data modeling and data dictionary capabilities for Data Analysts. This means that
you've to separately maintain your metrics definitions elsewhere.
● Lack of version control and collaboration when building data logic and dashboard.
References:
● Comparison of Product Suite
● Tableau Pricing
● Understanding License types of Tableau
● Tableau Desktop vs Tableau Public
Reference:
https://help.tableau.com/current/pro/desktop/en-us/environment_datasource_page.htm
Data Fields
● After you connect to your data and set up the data source with Tableau, the data source
connections and fields appear on the left side of the workbook in the Data pane.
● The term "fields" refers to columns.
● When you connect to a new data source :
○ Each field is automatically assigned a Data Type (such as integer, string, date).
○ Tableau assigns each field in the data source as dimension or measure in the
Data pane, depending on the type of data the field contains.
■ Discrete Dimension or Continuous Measure (more common)
■ Continuous Dimension or Discrete Measure (less common)
Reference:
● https://help.tableau.com/current/pro/desktop/en-us/datafields_typesandroles.htm
● https://help.tableau.com/current/pro/desktop/en-us/
datafields_understanddatawindow.htm
Data Type
● Tableau expresses fields and assigns data types automatically.
● If the data source appoints the data type, Tableau will use that data type.
● If the data source doesn't individually assign a data type, Tableau will assign one
Dimension:
● Dimension is a field that can be considered an independent variable.
● By default, Tableau treats any field containing qualitative, categorical information as a
dimension.
Rule of Thumb :
Generally,
● the measure is the number;
● the dimension is what you “slice and dice” the number by.
● In the example on the left (above), because the Quantity field is set to Continuous, it
creates a horizontal axis along the bottom of the view.
○ The green background and the axis help you to see that it's a continuous field.
● In the example on the right (above), the Quantity field has been set to Discrete. It
creates horizontal headers instead of an axis.
○ The blue background and the horizontal headers help you to see that it's
discrete.
● In both examples, the Sales field is set to Continuous.
○ It creates a vertical axis because it is Continuous and it's been added to the
Rows shelf.
○ If it was on the Columns shelf, it would create a horizontal axis.
● The green background and aggregation function (in this case, SUM) help to indicate that
it's a Measure.
● The absence of an aggregation function in the Quantity field name helps to indicate that
it's a Dimension.
● You can convert a field from a measure to a dimension in the current view.
● If you want the change to affect all future uses of the field in the workbook, you can
convert a field in the Data pane from a measure to a dimension.
If you place a field that you converted from a measure to a dimension on a shelf, it now
produces headers instead of an axis.
Business problem 1:
Dataset : sample superstore