pie chart from a calculated field

0 votes
Hi, i'm a beginner in tableau. How to use calculative fields to form a pie chart?. i want to show the data obtained from calculative field in a pie charts. i have different groups in my data set which split the students into 4 categories depending on various parameters.Can u show with an example?
May 20 in Tableau by keerthana
50 views

1 answer to this question.

0 votes

Hi Keerthana,

As you have already created a calculated field with groups, its easy to form a pie chart, follow the below steps:

For ex: This is my calculative field that i'm using to show a pie chart.

IF [Profit]<0 THEN "No profit"
ELSEIF [Profit]<100 AND [Profit]>0 THEN "Low profit"
ELSEIF [Profit]>200 THEN "High Profit"
ELSE "Moderate profit"
END

Select the marks shelf from automatic to pie.

Drop the field created in color shelf and the aggregation of measure in size shelf.

Hope it helps.

answered May 20 by Cherukuri
• 32,260 points

Related Questions In Tableau

0 votes
1 answer

How to create a single calculated field from multiple column filtering?

Try with this calculated field: ( ...READ MORE

answered Jul 6, 2018 in Tableau by Atul
• 5,530 points
54 views
0 votes
1 answer

Creating a calculated field with LOD expression

Go ahead and try the following three ...READ MORE

answered Apr 20, 2018 in Tableau by Atul
• 5,530 points
135 views
0 votes
1 answer

Creating a calculated field for summing up the values

Well you can use this in your ...READ MORE

answered May 17, 2018 in Tableau by Atul
• 5,530 points
49 views
0 votes
0 answers

Creating a multiple charts with calculated field

Sample data: Table Name: A Mode Country Month Visitor ...READ MORE

Aug 16, 2018 in Tableau by Atul
• 5,530 points
59 views
0 votes
1 answer

Tableau- Pie Chart with Multiple Measure Values

Hi Nithin, Pie chart is used to show ...READ MORE

answered Mar 11 in Tableau by Cherukuri
• 32,260 points
881 views
0 votes
1 answer

How to show percentages on the slices in pie chart in Tableau?

Hi sindhu, You can manually move the labels ...READ MORE

answered Mar 13 in Tableau by Cherukuri
• 32,260 points
1,375 views
0 votes
1 answer

Multiple labels in pie chart

Hi Rubia, You can add multiple labels in ...READ MORE

answered May 8 in Tableau by Cherukuri
• 32,260 points
29 views
0 votes
1 answer

How to color code cells of a column based on the text value in Tableau

You can use the following steps to ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
2,376 views
0 votes
1 answer

Add reference line from calculated field.

Hi, Follow these steps: 1. Create the calculated field. 2. ...READ MORE

answered Mar 29 in Tableau by Cherukuri
• 32,260 points
28 views
0 votes
1 answer

A double pie chart - Pie chart within another pie chart.

Hi sindhu, Follow below steps: 1. Plot a pie ...READ MORE

answered Apr 3 in Tableau by Cherukuri
• 32,260 points
44 views