How to Add Multiple Labels to a Pie Chart in Tableau

Labels help call out each mark and make it more understandable.When building a pie chart, there are certain scenarios that may require more than one field to be identified in the label. Using Tableau Desktop 8.0 and later, you can easily add labels to your pie marks by dragging the desired fields to Label

In Tableau Desktop 7.0 and earlier, you can show multiple labels on a mark by creating a custom calculation.


Step 1

Connect to your data source. This example uses the Sample – Superstore data source.

Step 2

Holding the CTRL key down, select the Category and Sales fields in the Data window, and then select the Pie Chart option using Show Me.

Step 3

Select Analysis > Create Calculated Field.

Step 4

In the Create Calculated Field dialog box, do the following tasks:
  1. In the Name text box, type Gross Margin %.
  2. In the Formula text box, type the formula below, and then click OK.
SUM([Profit])/SUM([Sales])

Step 5

Select Analysis > Create Calculated Field.

Step 6

In the Create Calculated Field dialog box, do the following tasks:
  1. In the Name text box, type Order Count & Profit %.
  2. In the Formula text box, type the formula below, and click OK.
"Orders = " + STR(COUNT([Order ID]))+", Profit = " +(STR(ROUND([Gross Margin %]*100,1))+ "%")

Step 7

Drag the calculated field you created in step 6 to the Label shelf on the Marks card. 

You can manually adjust the white space and size of the pie chart by placing your cursor over the right and bottom sides of the view and then dragging the border out.