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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.