Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pie Charts 1

Status
Not open for further replies.

scoob28

Technical User
Feb 19, 2008
12
US
I'm having trouble making what I beleive is a simple pie chart. I have the following data.

Year 2005

Run Items Produced
--- ----------------
1 300
2 150
3 100
4 0

A run is successful if it produces anything over 0 items. I want to create a pie chart showing the precentage of successful and unsuccessful runs. In this case, 75% of the chart would be green and 25% would be red. I do not want each run labeled separately. I want them grouped into either successful or unsuccessful. The colors I can handle. It is getting just two things graphed, successful or unsuccessful, which is giving me problems.

Thanks
 
Create a formula:

if {table.itemsproduced} > 0 then "Successful" else "Unsuccessful"

Use this as your "on change of" field, and use ocunt of table.run as your summary field.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top