Top N and Bottom N Values in single sheet in Tableau

Today we’ll be learning how to show Top 10 and Bottom 10 values in single sheet. To accomplish this we’ll be using Combined Set functionality of Tableau.

Step 1. For the first step create sets of States of Top 10 and Bottom 10 values by sales as shown in the image below. You can change the sets by the fields(dimension or measure).

1-min 2-min

 

Step 2. In this step we’ll create a combined set. Select both the sets and right click and select Create Combined Set and then in the new window select All Members in Both Sets. Name the new set and Click ok.

3-min 4-min

 

Step 3. In the final step create the chart by placing Sales in Columns shelf and State and created Combined Set in Rows shelf.

 

5-min

 

Now place the Top 10 set or Bottom Set in the Rows shelf and same set in the colors. If you’ve used Top-10 sets then IN will be top 10 values and OUT will be bottom 10 values.

6-min

 

Now change the alias of IN to TOP 10 and OUT to Bottom 10 as shown in the image below and that’s done.

final-min

 

This was pretty easy and useful tutorial. Keep visiting Analytics Tuts for more tutorials.

2 comments

Leave a Reply

Your email address will not be published. Required fields are marked *