Excluding data on the fly

We can easily set multiple filters on a visualization; however, while exploring the data, the user has a very common need to exclude certain data without explicitly creating a filter beforehand. Tableau offers this feature, and exclusion happens on the selected marks and a filter is created.

Getting ready

Let's use the sample file Sample – Superstore Sales (Excel). Open a new worksheet and select Sample – Superstore Sales (Excel) as the data source.

How to do it...

Once the data is loaded on the worksheet, perform the following steps to create a visualization and exclude or filter some data from the visualization:

  1. Click on the Show Me button to bring the Show Me toolbar on the screen.
  2. While holding the Ctrl key, click on Ship Mode and Sub-Category from Dimensions and Sales from Measures.
  3. Click on the circle view icon on the Show Me toolbar.
  4. To exclude every product with a Sales value of more than 1,000,000 dollars, select all the four marks above $1,000,000 as shown in the following screenshot:
    How to do it...
  5. The selected marks will become darker in color, and all the other marks will dim down. Right-click on any selected mark, and click-on Exclude as shown in the following screenshot:
    How to do it...
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset