Condition Filters, Data Source and Top Filters in Tableau

Last updated on Oct 25 2021
Ramnath Swami

Table of Contents

Condition Filters, Data Source and Top Filters in Tableau

In Tableau, condition filter is used to apply some conditions to already existing filters. These conditions are very simple, for example, finding only those sales which are higher than a certain amount. Also, these conditions can be applied to create a range filter.

Create a Condition Filter

For example, consider the data source such as Sample-superstore, let’s find the sub-category of products across all Segments whose sales exceed two million. There are some steps for creating condition filter in Tableau.
Step1: Drag the Segment field and the Sales field to the Column shelf.
Step2: Next, drag the Sub-Category field to the Rows shelf. Choose the horizontal bar chart option. And you get view shown in below screenshot.

tableau 10
tableau

Step3: Again, drag the Sub-Category field to the Filters Shelf.
Step4: Right-click on Sub-Category field to edit and then go to the “Condition” tab. And, choose the radio “By field “ option. From the drop-down, select Sales, Sum, and greater than equal to symbol specifying the value 200000.

tableau 11
tableau

After completing the above steps, you get a view which shows only those subcategory of products that have the required amount of sale. Also, this shows all the available Segments where the condition is True that shown in below screenshot.

tableau 12
tableau

Tableau Data Source Filters

The data source filter is used to filter the data in data source proportion. It restricts the files present in the data set. This filter is similar to the extract filter in securing the data. But data source filter and extract filter both are different, and they are not linked to each other. A data source filter works on both Live connection and Extract connection. The procedure to select a data source filter is given as step by step below.
Step1: Click on the “Add” button placed at the top right corner of the data source tab, shown in the following screenshot.

tableau 13
tableau

Step2: It opens the “Edit Data Source Filters” Window. Then, click on “Add” Option of the window that shown in below screenshot.

tableau 14
tableau

Step3: “Add Filter” Window is opened to select the filter conditions.
Select any of the fields and add as extract filter. For example, you want to select the Category field as an extract filter. Then,
1. Select Category from the list.
2. Click on OK button, shows in below screenshot.

tableau 15
tableau

After clicking on OK button, it opens a filter window shown in below screenshot.

tableau 16
tableau

Tableau Top Filters

In Tableau, Top filter is used to set the limit of result from a screen. For example, if you want to get only the top 10 values from a large set of records. Then, you can apply this filter using the inbuilt options for limiting the files in many ways or by creating a formula.

Create a Top Filter

For example, consider the data source such as Sample-superstore, and you want to find the sub-category of products that represents the top 10 sales amount. There are the following steps, such as:
Step1: Drag the Sub-Category field to the Rows shelf and the Sales field to the Columns shelf. Choose the horizontal bar from the “Show Me” tab. Tableau shows the following view:

tableau 17
tableau

Step2: Right-click on the Sub-Category field and go to the “Top” tab. And, choose the second radio “By field” option. From the drop-down, select the Top 10 options by Sum of Sales.

tableau 18
tableau

After completing the above all steps, you will get the following view, which shows the top 10 Sub-Category of products by sales shown in the below screenshot.

tableau 19
tableau

So, this brings us to the end of blog. This Tecklearn ‘Condition Filters, Data Source and Top Filters in Tableau’ blog helps you with commonly asked questions if you are looking out for a job in Tableau Desktop. If you wish to learn Tableau Desktop and build a career in Business Intelligence domain, then check out our interactive, Tableau Desktop Training, that comes with 24*7 support to guide you throughout your learning period. Please find the link for course details:

Tableau Desktop

Tableau Desktop Training

About the Course

Tecklearn’s Tableau Desktop Training teach you how to transform raw data into interactive and shareable dashboards using Tableau. Our Tableau Course covers the necessary analytical skills to Advanced data visualizations by incorporating real-world use-case scenarios, labs, and exercises. Some of the topics included are Data Blending, Data Mapping, Graphs, creation of charts, and LOD expression by using different versions of Tableau, such as Tableau Desktop, Tableau Reader, and Tableau Public.

Why Should you take Tableau Desktop Training?

• The average salary of a Tableau Professional ranges between $108,697 to $158,000 per annum -Indeed.com.
• Tableau has been positioned as a Leader in the Gartner Magic Quadrant for Analytics and Business Intelligence Platforms – Gartner.com.
• Fidelity Investments, Capgemini, EY, Deloitte, EY, JP Morgan, Verizon, Facebook, Dell, General Motors, KPMG, Bank of America and 40,000 other MNCs worldwide across industries use Tableau.

What you will Learn in this Course?

Understanding Tableau
• Why Tableau
• Tableau Product Platforms
• Tableau Architecture
• Tableau Interface
Data Connection with Tableau Desktop
• Features of Tableau Desktop
• Connect to data from File and Database
• Types of Connections
• Data Blending
• Joins and Unions
• Tableau Desktop User Interface
• Basic project: Create a workbook and publish it on Tableau Online
Basic Visual Analytics
• Visual Analytics
• Basic Charts: Bar Chart, Line Chart, and Pie Chart
• Hierarchies
• Data Granularity
• Highlighting
• Sorting
• Filtering
• Grouping
• Sets
Advanced Visual Analytics
• Parameters
• Tool tips
• Trend lines
• Reference lines
• Forecasting
• Clustering
Calculations in Tableau
• Calculated Fields
• Numeric, String, Data, Logical, Addressing and Partitioning
• Table Calculations
Level of Detail (LOD’s) Calculations
Advanced Charts in Tableau
• Box and Whisker’s Plot
• Bullet Chart
• Bar in Bar Chart
• Gantt Chart
• Waterfall Chart
• Pareto Chart
• Control Chart
• Funnel Chart
• Bump Chart
Parameters
• What If Scenarios
• Parameter in CF (KPI control)
• Parameter in Filter (Top N)
• Parameter in reference line
Dashboards and Stories
• Introduction to Dashboards
• The Dashboard Interface
• Dashboard Objects
• Building a Dashboard
• Dashboard Layouts and Formatting
• Interactive Dashboards with actions
• Designing Dashboards for devices
• Story Points
Data Security in Tableau
Optimizations tips and tricks
Interacting with Tableau Server
Working with Tableau JavaScript API

Got a question for us? Please mention it in the comments section and we will get back to you.

0 responses on "Condition Filters, Data Source and Top Filters in Tableau"

Leave a Message

Your email address will not be published. Required fields are marked *