Skip to main content

Hey, I want to create the pie chart to show what made up the total sales. I have sales number in equitation like sales =profit + COGS + expense.

How can I build a pie chart for this in Tableau? I don't have a dimension to put in the row.

2 件の回答
  1. 2018年7月26日 17:11

    This depends on the structure of your data. If you have data in separate columns (i.e. separate measures), like this:

     

    This depends on the structure of your data. If you have data in separate columns (i.e.

     

    Then you can do something like this in Tableau, where you'd leverage the "Measure Names" dimension and Measure Values.

     

    pastedImage_1.png

     

    If your data is in separate rows, like this:

     

    pastedImage_2.png

     

    Then you can do this in Tableau.

     

    pastedImage_3.png

     

    See attached workbook which has both methods. If this helps to resolve your question, please be sure to mark this as the "correct answer" so others may learn from it in the future. Thanks!

0/9000