Solved

Access 2007 - Pie Chart with 2 Slices

Posted on 2011-09-07
5
628 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

744 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

10 Experts available now in Live!

Get 1:1 Help Now