KNOWLEDGE BASE

Creating a Pie Chart with Percent of Total of Variable Sized Bins


Published: 04 Feb 2013
Last Modified Date: 30 Aug 2017

Question

How to create a pie chart that shows the percent of total for variable sized bins.

Environment

Tableau Desktop

Answer

The following instructions can be reviewed in the attached workbook.
  1. Create a calculated field to define the variable bin sizes. For more information, see Creating Variable Sized Bins. In the example workbook, this field is called #servicerequests.
  2. Drag the new calculated field to the Color shelf.
  3. Drag Count of Users to the Size shelf.
  4. From the Marks card drop-down menu, select Pie.
  5. Right-click on Count of Users and select Quick Table Calculation > Percent of Total.
  6. Click on Label on the Marks card and select Show mark labels.
Did this article resolve the issue?