Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 680
  • Last Modified:

Access 2007 - Pie Chart with 2 Slices

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
missminimac
Asked:
missminimac
2 Solutions
 
als315Commented:
Do you like to have something like this (Open Form1 or Report1)?
DBslicedchart.accdb
0
 
FlysterCommented:
You can sum your fields in a query and create your chart from that. See rptTable1.

Flyster
Pie-Chart.accdb
0
 
Jeffrey CoachmanMIS LiasonCommented:
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
 
missminimacAuthor Commented:
Thank you for your responsiveness. Your help and made me smile and finally get results.
0
 
FlysterCommented:
A solution and a smile! Glad I could help. :)
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now