Last modified date: 20 Jul 2023
Environment
Tableau DesktopResolution
Option 1: Use Two Pie Charts
Step 1: Create a pie chart
- In Tableau Desktop, connect to Superstore sample data.
- Under Marks, select the Pie mark type.
- Drag Segment to Color.
- Drag Sales to Angle.
- Drag a second copy of Sales to Label.
- Resize the pie chart as desired.
Step 2: Switch to the dual-axis chart
- Select Analysis > Create Calculated Field
- In the Calculated Field dialogue box that opens, do the following, and then click OK:
- Name the calculated field. In this example, the calculated field is named "Dummy Axis"
- In the formula field, enter the formula: MIN(1)
- Drag Dummy Axis to Rows.
- Drag Dummy Axis to Rows again.
- On Rows, right-click the second instance of Dummy Axis, and then check Dual Axis.
Step 3: Change the second pie chart to a circle
- At the bottom of the Marks card, click AGG(Dummy Axis) (2).
- Remove Segment from Color.
- Remove Sales from Angle.
- Click Colour, and then choose the same colour as the background. In this example, click white.
- Click Size, then drag the slider to the left to make the circle smaller.
- Right-click on each of the axes and deselect Show Header.
Option 2: Use One Pie Chart and an Image File
You can also create a pie chart as in Step 1 above, add it to a dashboard, and place a circular .png image over the middle. See How to Make Donut Charts in Tableau at Tableau A to Z blog for more information.Note: The link above leads to a site outside of Tableau.com. Although we make every effort to ensure links to external websites are accurate, up-to-date, and relevant, Tableau cannot take responsibility for the accuracy or current relevancy of pages maintained by external providers. Contact the external site for answers to questions regarding its content.
Additional information
- Community Forum: Donut pie chart and colour highlighting.
- InterWorks Blog: The Tableau Cookbook: Donut Charts
To voice your support for the inclusion of this feature request in a future product release, add your vote to the following Community Idea: Built-in support for all kinds of new popular chart types.
Thank you for providing your feedback on the effectiveness of the article.
Open new case
Continue searching
Knowledge Base
Community
Product help
Training and tutorials