Lesson 3 - Organizing - Simplifying Data
Lesson 3 - Organizing - Simplifying Data
Data filters can be used to limit the data to include specific fields and/or records that meet certain criteria.
Data can be filtered using the following filter types:
Filters at the data source level Filters on extracts that perform Filters that are applied
that are an efficient way to the same function as data within the Tableau
limit scope of data for source filters but are applied to workbook itself
performance/security the extract connection
purposes
Filtering Data
FIELD TYPES
Filters on the data source, extract, or worksheet can be applied to the following field types:
• Condition - matched based on field or formula (filter to list sales reps with sales
volume greater than a certain dollar amount)
• Top - top values by field or formula (filter to do a top 10 rank of sales reps by
sales volume)
Filtering Data
ON MEASURES
Filter on measures • Range of values - filter to identify sales reps within a range of sales totals
can be done using • At Least - filter to identify sales reps with sales above a certain level
one of the following
approaches: • At Most - filter to identify sales reps with sales below a certain level
• Special - all values, null values, non-null values
Filtering Data
ON DATES
Filter on measures • Relative dates: The user can specify a range of dates that is updated based on
can be done using
the date and time you open the view (such as year-to-date sales or profits).
one of the following
approaches: • Range of dates: The user can specify a range of dates to define a fixed range of
dates to filter.
• Discrete dates: The user can specify a discrete date value in the dialog box if you
want to include entire date levels.
• Individual dates: The user can select Individual dates to filter specific dates from
your view.
• Additional date filter options: The user can specify a Starting date or Ending
date, or select to include null dates, non-null dates, or all dates.
Organizing & Simplifying Data
Topic 2: Sorting Data
Sorting Data
Sorting is arranging the data in a specific order.
Sorts are an effective way to highlight the extremes in data.
You can combine dimension members into Groups to aggregate the members’ data.
In the following example, a group of the top 5 sales reps by total compensation is grouped into one row.
Hierarchies are groups of related dimensions that are organized into levels at different granularities.
Example: A business may have an organizational hierarchy that includes levels such as company, division,
region, etc.
Company
Division
Region
Building Hierarchies
USING HIERARCHY AS DIMENSION
Using hierarchies along with Tableau’s drill-down or drill-up functionality is an efficient way to
present data at various levels of detail.
Sets are custom fields that define a subset of data based on some conditions, such as a computed condition.
Example: A set may contain customers with sales over a certain threshold.
Threshold
The following image is an example of a set of products called “Product Bundle,” defined in a manual or custom
approach:
Demo—Data, sorting Data, building groups, hierarchies,
and sets
QUIZ A filter that limits query results to fields that contain a specific string of text is called ____.
1
a. Top filter
b. General filter
c. Wildcard filter
d. Condition filter
QUIZ A filter that limits query results to fields that contain a specific string of text is called ____.
1
a. Top filter
b. General filter
c. Wildcard filter
d. Condition filter
A Wildcard filter matches values based on presence of a string (“contains”), or based on same starting
characters, same ending characters, or same full set of characters.
a. Hierarchies
b. Sets
c. Groups
d. Measure Values
QUIZ ___ are custom fields that define a subset of data based on some conditions.
2
a. Hierarchies
b. Sets
c. Groups
d. Measure Values
Sets are custom fields that define a subset of data based on some conditions and are created through
manual selection, by condition, or by ranking.
a. Extracts
b. Filters
c. Measure Values
d. Hierarchies
Using _____ in tandem with Tableau’s drill-down and drill-up functionality is an efficient way to
QUIZ present data at various levels of detail.
3
a. Extracts
b. Filters
c. Measure Values
d. Hierarchies
Using hierarchies with Tableau’s drill-up/drill-down functionality allows the user to easily pivot between
different levels of aggregation.
Mary is analyzing sales volumes for her company. She wants to highlight the top
performing products and sales representatives in her analysis. How could Mary use
some of the tools covered in this lesson to perform her analysis?
Solution
Mary is analyzing sales volumes for her company. She wants to highlight the top
performing products and sales representatives in her analysis. How could Mary use
some of the tools covered in this lesson to perform her analysis?
Here are some ways that Mary could use these tools in her analysis:
• She could sort her data to show the top sales representatives or top selling products at the
top of the view
• She could use filters to present the top 10 sales representatives in terms of sales volume
• She could create an organizational or product hierarchy so the user could easily pivot to
different levels of aggregation
• She could create a group of products with the highest profit margins
• She could create a dynamic set of sales representatives or products that meet a specific
criteria
Key Takeaways