Solved

Access 2007 - Pie Chart with 2 Slices

Posted on 2011-09-07
5
640 Views
Last Modified: 2012-05-12
Greetings!

I have one Table with 10 records and created a custom report. The data is bound successfully on the report, however, my hang-up is with the Pie Chart.

What do I need to do to create a Pie Chart with 2 Slices and the chart data changes in reference to the record?

Data in Table1
EmpId   Comp   Benefits
1         $50,000  $5,000
2         $60,000  $6,000
3         $70,000  $7,000
4         $80,000  $8,000
5         $90,000  $9,000

Desired Pie Chart Results:
2 Slices
1) Comp
2) Benefits


Thanks a million pies ;-))
0
Comment
Question by:missminimac
5 Comments
 
LVL 39

Expert Comment

by:als315
ID: 36500718
Do you like to have something like this (Open Form1 or Report1)?
DBslicedchart.accdb
0
 
LVL 22

Accepted Solution

by:
Flyster earned 400 total points
ID: 36500799
You can sum your fields in a query and create your chart from that. See rptTable1.

Flyster
Pie-Chart.accdb
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 100 total points
ID: 36503333
The issue here is that because your sample data had all benefits as 10% of Comp, all the charts were the same...
Obviously, (in the very rare situation, that every Bennie wall be exactly 10% of comp) it is difficult to see any differences in the charts

This is why we need data that represents real world scenarios...
In any event, ...here is my take...
untitled.JPG
Database38.mdb
0
 

Author Closing Comment

by:missminimac
ID: 36507884
Thank you for your responsiveness. Your help and made me smile and finally get results.
0
 
LVL 22

Expert Comment

by:Flyster
ID: 36508109
A solution and a smile! Glad I could help. :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now