Tableau Assignment - Stephan
Tableau Assignment - Stephan
Roll No : 12
Sub : Tableau
Q.2 What is mean by filter? Explain how many types of filters are available in
Tableau?
Ans :- Tableau lets you filter individual views or entire data sources based on
dimensions, measures, or sets. In databases, filtering is a useful way to see only the
data you want to see. When the data is visualized in a readable, actionable format,
Tableau filters are required to highlight any underlying insights that can be derived
from it.
Tableau filters are based on a condition that can be used to limit the number of
records in the database. Tableau filters support both simple cases based on field
values and advanced calculations or context-based filters. The Tableau filter you
choose, or a combination of Tableau filters, is largely determined by what you
want to limit your data set to.
Types of Tableau Filters
Tableau filters can be used to organize and visualize data based on predefined
criteria in several ways. Tableau has a total of six different types of filters:
Extract Filter
Data Source Filter
Context Filter
Dimension Filter
Measure Filter
User Filter
1.Extract Filter : The Tableau filter that extracts a small subset of data from the
original data source is the extract filter. If the user extracts data from the data
source, this Tableau filter is used.
After connecting the text file to Tableau, you’ll see two options in the top right
corner of the data source tab: Live and Extract. A direct connection to a data source
is referred to as a live connection. And the extract connection takes the data from
the data source and saves it to the Tableau repository as a local copy.
2.Data Source Filter : The Tableau Filter that applies the filter directly to the data
source, allowing for quick uploads of data is the Data Source Filter. It can limit the
number of records in the data set. Both live and extracted connections are
supported by the Data Source Filter.
3.Context Filter : A Context Filter is a standalone Tableau filter that can create a
new dataset from the original data set and compute the worksheet selections.
Context Filters are used to boost the performance of data source views, filters, and
queries. You could run a context filter before any other Tableau Filters, and then
apply the remaining filters on top of the data returned after context filtering.
To make a Context Filter, go to the context menu of an existing categorical filter
and select Add to Context. Once the view is created, the context is calculated. The
context is then used to calculate all other filters. Consider using a data source like
Sample-superstore to find the top 10 subcategories of products in the Furniture
category.
Context filter is created because:
Improve Performance: Queries will take a long time to run if you want to use a lot
of filters or if your data source is large. In this case, you can improve performance
by using one or more context filters.
Create a Dependent Numerical or Top N Filter: You can arrange a numerical or top
N filter after setting a context filter to include only the data of interest.
4.Dimension Filter : In Tableau, dimensions are independent fields, typically any
field that contains categorical or qualitative data. Dimension Filters are those
Tableau Filters that are applied to dimensional data. It’s a non-aggregated filter that
allows you to add a dimension, group, sets, and bins. The top or bottom conditions,
wildcard match, and formula can all be used to apply a Dimension Filter. This
Tableau filter can be used to include or exclude members from a dimension from
the list.
5.Measure Filter : The Tableau Filter that can be used to filter data based on the
values in a measure is called the Measure Filter. Fields containing quantitative data
are commonly referred to as measures. The data can be modified using the
aggregated measure values in a Measure Filter.
6.User Filter : The Tableau filter that protects the row-level data in a dataset is the
User Filter. When the workbook is published on a server, it can be used. For
different users, different filtering conditions can be used. It’s the process of
limiting what data a user can see depending on who’s looking at the dashboard.
Advantages
Our eyes are drawn to colors and patterns. We can quickly identify red from blue,
and squares from circles. Our culture is visual, including everything from art and
advertisements to TV and movies. Data visualization is another form of visual art
that grabs our interest and keeps our eyes on the message. When we see a chart, we
quickly see trends and outliers. If we can see something, we internalize it quickly.
It’s storytelling with a purpose. If you’ve ever stared at a massive spreadsheet of
data and couldn’t see a trend, you know how much more effective a visualization
can be.
Some other advantages of data visualization include:
Disadvantages
While there are many advantages, some of the disadvantages may seem less
obvious. For example, when viewing a visualization with many different
datapoints, it’s easy to make an inaccurate assumption. Or sometimes the
visualization is just designed wrong so that it’s biased or confusing.
Some other disadvantages include: