This section describes the various ways you can filter and sort data in Tableau visualizations.

Filtering is an essential part of analyzing data. This article describes the many ways you can filter data from your view. It also describes how you can display interactive filters in the view, and format filters in the view.

Filtering Order of Operations

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
  2. Data source 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)