Creating a top/bottom N filter

In this recipe, we will create a bar chart that can display the top N or bottom N countries based on CO2 emission, a world development indicator (WDI) tracked by the World Bank.

Creating a top/bottom N filter

Getting ready

To follow this recipe, open B05527_03 – STARTER.twbx. Use the worksheet called Top N Bottom N, and connect to the CO2 (Worldbank) data source.

Getting ready

How to do it…

The following are the steps to create a bar chart with a top/bottom N filter:

  1. From Dimensions, drag Year to the Rows shelf.
  2. From Dimensions, drag Country Name to the Rows shelf, to ...

Get Tableau 10 Business Intelligence Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.