Professional Documents
Culture Documents
Lesson 09 Filter and Analytics in Tableau
Lesson 09 Filter and Analytics in Tableau
ABC is an ed-tech company that is facing losses in the current financial year. It is
planning to create quarterly sales forecasts to compare yearly performance.
The company decides to utilize the Tableau tool to optimize the data and
visualization.
Before proceeding, it will have to explore the different types of filters available,
analytics options, and the use of average, constant, and reference lines in
Tableau.
Why Filters?
Filters
It helps to reduce the amount of data, which makes analyzing easy and fast.
Filters
They provide enormous control over the efficiency of Tableau queries in systems.
Additional Benefits
These filters even allow simplifying and organizing data before actual drill-downs and
aggregation functions.
Tableau Filters: Features
Tableau is used to filter individual views or even entire data sources on dimensions, measures, or sets.
Types of Filters in Tableau
Discussion: Filters
Duration: 10 minutes
Tableau has various filters that enable data organization based on predefined conditions.
Data
Extract
source
filter
filter
Measure Dimension
filter filter
Extract Filter
Data that is extracted as a saved snapshot of the workbook can be loaded into memory.
Extracts can be filtered to further limit the data fed into Tableau. This can be done either by a
certain measurement or dimension.
Data Source Filter
If an extract is created from a data source that already has data source filters, those filters are treated
as extract filters.
Data Source Filter
Recommended filters need not be a part of the extract filter list and they can be removed safely.
Note: Extract filters and data source filters are not linked.
Context Filter
All filters are computed independently; every filter accesses all the rows in a dataset.
Context Filter
The following are the main reasons why context filters are used:
Formula
The dimensions used are discrete blue pills corresponding to discrete data.
Condition Wildcard
Dimension Filter
Condition and top/bottom filters allow a customized formula to be created and used for data
selection.
Dimension filters are shown in a sheet or dashboard to change a filter condition dynamically.
Measure Filter
Average Sum
Median Min
It is always applied after non-aggregated filters, irrespective of the order of filters on the pane.
Measure Filter
• Range of values
• At least
• At most
• Special (which gives the option to include Null
values or not).
It is applied after the view has been created or, in other words, it is applied on the visual level.
Duration: 10 minutes
• What are extract filters in Tableau?
Answer: Extract filters in Tableau are applied specifically to data
extracts. They allow users to reduce the stored data by applying
filtering conditions based on criteria such as date ranges,
categories, or calculations. This optimizes extract size and improves
performance when working with the data in Tableau.
Companies all over the world generate massive amounts of data in the form of:
Log files
Web servers
Transactional data
Companies should use the data generated to derive value and make important business decisions.
Analytics
It is the process of drawing insights from data by analyzing and exploring data sets.
It refers to all the tools and activities involved in processing data to get valuable
insights and interpretations.
Analytics
Diverse techniques have been automated into algorithms that work over raw data.
To analyze different behavioral trends, data is extracted from various sources, cleaned, and
transformed.
Data analytics is the process of analyzing data sets to make decisions based on the
information available.
Platforms such as Power BI and QlikView make it simple to see and understand trends, patterns, and
outliers in data.
Data analytics introduces structure into data; data visualization is concerned with
visualizing information.
Types of Analytical Functions in Tableau
Types of Analytical Functions in Tableau
6
Time filters Aggregations
1
Categorical filters 5
2 Grouping
Numerical filters 4
3 Sorting
Aggregations
Sum
Maximum Average
Aggregate
functions
Minimum Median
It is used for arranging visuals in ascending or descending order, either alphabetically or according to
the numeric value associated with it.
Sorting allows one to select the order in which a table's dimension members are shown and frequently
reveals correlations between fields.
Numerical Filters
4
Ends with (Name ends with “A”) 3
Starts with (Name starts with “A”)
Time Filters
Previous Between
Last Starting at
Following Ending at
It helps to answer questions such as "Sales in the last ten years" or "Profit between 2018 and 2023”.
Assisted Practice: Using Average, Constant, and
Reference Lines
Problem statement:
Create average, constant, and reference lines for the graph using the superstore.csv dataset
Assisted Practice Guidelines
Steps to perform:
Problem statement:
Create an average with a 95% CI (Confidence Interval) and a median with a 95% CI (Confidence Interval)
line using the superstore.csv dataset
Assisted Practice Guidelines
Steps to perform:
1. Create an average of 95% and a median with a 95% line using a graph
Filters are used to remove irrelevant data, increase efficiency, and clean the underlying data.
Knowledge
Check
Which filter is applied on the visual level?
2
A. Table filter
B. Measure filter
D. Dimension filter
Knowledge
Check
Which filter is applied on the visual level?
2
A. Table filter
B. Measure filter
D. Dimension filter
A. Two
B. Six
C. Seven
D. Nine
Knowledge
Check
How many aggregation functions are available in Tableau?
3
A. Two
B. Six
C. Seven
D. Nine