How to Create Donut Chart to Show Total Sales in Tableau

preview_player
Показать описание


In this example I have a donut chart using category and sales.

I've added a new sheet so I can have a blank canvas. Let's start by dragging sales to text and driving category to text as well. I'm going to use show me to build a pie chart first so I'm going to click on show me click on pie chart. Let's increase the size a little bit make it pretty big and fill our entire View a little bit too big.

Now I have a pie chart a donut chart in Tableau is effectively the same thing but I need to make a small adjustment.

I'm gonna double click on rows and click Max of zero. I'm going to double click right next to it as well and type Max of zero again.

This is simply giving us two pie charts two axes you'll see that when I click on the first max of zero. I have one pie chart and if I click on the second Max of video I have the second pie chart. On the second pill I'm gonna remove everything I'm going to remove category remove sales and remove sales on size and change this to White.

I'm going to reduce the size a little bit. You can't see it but I have a small pie chart on the bottom and a larger pie chart on the top. If I click on the second Max of zero and select dual axis it creates a donut chart. We can right click the max of zeros unsure the header and increase our size of the donut chart to have a better View.
Рекомендации по теме