Was this page helpful?
Yes No
Have a comment? Please leave it here. Thanks for your feedback!
All Tableau Help > Tableau Desktop and Web Authoring Help > 
Applies to: Tableau Desktop

Filter Actions

Filter actions send information between worksheets. Typically, a filter action sends information from a selected mark to another sheet showing related information. Behind the scenes, filter actions send data values from the relevant source fields as filters to the target sheet.

For example, in a view showing the sales price of houses, when you select a particular house, a filter action can show all comparable houses in a different view. The source fields for the filter might contain sales price and square footage.

Watch a video to see real-world examples of actions. Filter actions are covered at the 2:20 mark.

 

To create a filter action:

  1. On a worksheet, select Worksheet > Actions. From a dashboard, select Dashboard > Actions.

  2. In the Actions dialog box, click Add Action and then select Filter.

  3. In the subsequent dialog box specify a name for the Action.

    Use a name that defines the action. If you choose to run the action using the menu, the name is the option that shows on the menu. For example, when sending housing information from one sheet to a map, the name could be “Map all comparable houses sold in February” You can use variables in the name that are drawn from the values of the selected field.

  4. Use the drop-down list to select a source sheet or data source. When you select a data source or dashboard sheet you can further refine by selecting the individual sheets you want to launch the action from.

  5. Then select how you want to launch the action. Select one of the following options:

  6. Use the second drop-down list to select a target sheet. When you select a dashboard sheet you can further refine the target by selecting one or more sheets within the dashboard.

  7. Specify what to do when the select is cleared in the view. You can select from the following options:

  8. Setup one or more filters to specify the data that you want to show on the target sheets. You can filter on All Fields or define filters on Selected Fields.

  9. If you are defining filters for specific fields click Add Filter.

  10. In the Add Filter dialog box, select source and target data sources and fields. When you run the action from a specific mark on the source sheet, a filter is added to the target sheet that only includes values for the target field that match the source field.

    In the comparable houses example, if the Source Field and Target Field are both set to Beds, when you click a sheet link for a house with three bedrooms, the target worksheet shows only three-bedroom houses.

  11. When finished, click OK three times to close all open dialog boxes and return to the view.

If you are connected to a relational data source, you can add sheet links across data sources even if the field names are not exactly the same. For example, if one data source has a Latitude field while another has a Lat field, you can associate the fields using the drop down lists in this dialog box. When using a multidimensional data source, the destination sheet must use the same data source as the source sheet, and the source and target field names must match. In Tableau, multidimensional data sources are supported only in Windows.

The fields available in the Target Field drop-down list are dependent on what you selected as the Source Field. Only fields with the same data type as the source field are available.