Professional Documents
Culture Documents
III Exp@Dv Lab@21 Batch
III Exp@Dv Lab@21 Batch
III Exp@Dv Lab@21 Batch
Filtering:
It is the process of removing certain values or range of values from a result set.
Tableau filtering feature allows both simple scenarios using field values as well as
advanced calculation or context-based filters.
There are three types of basic filters available in Tableau. They are as follows −
Before you begin filtering data in Tableau, it's important to understand the order in
which
Tableau executes filters in your workbook.
Tableau performs actions on your view in a very specific order; this is called the Order of
Operations. Filters are executed in the following order:
1. Extract filters
3. Context filters
4. Filters on dimensions (whether on the Filters shelf or in filter cards in the view)
5. Filters on measures (whether on the Filters shelf or in filter cards in the view)
Measures contain quantitative data, so filtering this type of field generally involves selecting a
range of values that you want to include. When you drag a measure from the Data pane to
the Filters shelf in Tableau Desktop, the following dialog box appears:
Select how you want to aggregate the field, and then click Next.
In the subsequent dialog box, you're given the option to create four types of
quantitative filters:
Range of Values: Select the Range of Values option to specify the minimum and maximum
values of the range to include in the view. The values you specify are included in the range.
At Least: Select the At Least option to include all values that are greater than or equal to a
specified minimum value. This type of filter is useful when the data changes often so
specifying an upper limit may not be possible.
At Most: Select the At Most option to include all values that are less than or equal
to a specified maximum value. This type of filter is useful when the data changes
often so
specifying a lower limit may not be possible.
Special: Select the Special option to filter on Null values. Include only Null values, Non-null
values, or All Values.
In Tableau, you can aggregate measures or dimensions, though it’s more common to
aggregate measures. Whenever you add a measure to your view, an aggregation is applied to
that measure by default. The type of aggregation applied varies depending on the context of
the view.
You can aggregate measures using Tableau only for relational data sources. Multidimensional
data sources contain data that is already aggregated. In Tableau, multidimensional data
sources are supported only in Windows.
You can change the aggregation for a measure in the view from its context menu:
Aggregating Dimensions
You can aggregate a dimension in the view as Minimum, Maximum, Count, or Count
(Distinct). When you aggregate a dimension, you create a new temporary measure column, so
the dimension actually takes on the characteristics of a measure.
Output: