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
15 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 15,820 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,510 points
30 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,510 points
64 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,510 points
30 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,510 points
34 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
• 15,820 points
220 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
• 15,820 points
242 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
• 15,820 points
13 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,220 points
1,171 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
• 15,820 points
15 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
• 15,820 points
15 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.