DataBase - Pie Chart will only Display one slice - 100%

Asked By Peter
31-Jan-10 10:31 PM
I am having problems getting a simple pie chart graph to work within an
Access 2002 report.  The report is based on a query which has two calculated
fields - Male and Female.  The values within these fields come from a
separate function I developed to process records within a table in the
database and do a count for gender based on the Title field within each
record. (eg Mr, Mrs, Miss etc.)

The one page report simply prints out the above total values and within the
same detail section I tried to embed a pie chart graph to also represent
these values.  The chart displays only one slice with the Male value being
shown as 100% of the pie.

I have tried varying the SQL statement used in the Row Source for the
graph, but cannot get it to display the 2 slices that should make up the
whole.  (The Row Source is "SELECT [Male],[Female] FROM [qryGender];" ).

If I place the same data on an Excel spreadsheet with 2 columns - Male,
Female with total values placed in cells within a single row under these
headings, then insert a pie chart onto the spreadsheet, MS Graph has no
problem displaying the
correct pie chart.  What is it that is preventing this displaying correctly
in the Access report which is using the same data?   Do I need to further
refine the SQL?
--
Peter WA
Excel
(1)
Database
(1)
Report
(1)
QryGender
(1)
Mrs
(1)
Gender
(1)
Slices
(1)
  Duane Hookom replied to Peter
31-Jan-10 11:32 PM
First, make sure you do not have anything in the link master/child properties.

If the above does not fix your chart, you can find the chart property for
Rows or Columns and maybe change it.

Then typically the data should be similar to:
Gender   Number
Male       34
Female   41

--
Duane Hookom
Microsoft Access MVP
help
Excel Report Builder report is deleting the last column from SQL v DataBase I am using Excel Reports in conjunction with Smartconnect. After about a dozen smartconnect connections and refreshes of data from GP in my excel report, the original SQL view created from the Excel Report Builder deletes the last column from the SQL view. I am now unable to
Excel Report Builder and Parameters DataBase Is there a way to prompt a user for parameters in the Excel sheet that was created from Excel Report builder? I cannot edit it in MS Query. Great Plains Discussions Excel (1) VBA (1) Report (1) Reporter (1) Writer (1) SIf (1) Parametersyou (1) Becausethey (1) The parameters with MS
Use VBA to design Excel report DataBase Hello - I have got an Access application that uses VBA to programmatically create a series of Excel reports. I am having a little trouble formatting the cells correctly. The way you would code it in Excel is not always working in Access. Does anyone know where I can find a good trouble with number formats and borders. Thanks! Access Modules DAO Discussions ActiveCell.FormulaR1C1 (1) Microsoft Excel (1) Office 2007 (1) Access 2003 (1) Excel (1) Selection.NumberFormat (1) ObjRNG1.NumberFormat (1) ObjRNG2.BorderAround (1) Sorry, I should also include wording correct for that either. Thanks again! It is quite easy to perform operations in Excel, and control the entire process from Access. Make sure you set a reference to Excel
GP10 SP2 Excel Report Builder DataBase Hello, I have been testing the new Excel Report Buider which was added by SP2 and noticed that it only publishes Excel reports with the xlsx extention. This causes an issue with users because they are running Office 2003. I tried to use the Office 2007 Excel viewer but it does not appear able to use external data connections. I can open the report in Excel 2007 and save it as an xls file and it will open using
Need help emulating an excel report. DataBase I am trying to emualte this report in Access : http: / / www.gts-labs.com / CHAIN.pdf Primarily the middle section where I which samples get which tests is where I need the help. It was made in Excel. The closest I can come to this in access is with a Pivot table. But out only the tests requested. I am looking for options on how to create this report even if it is in a form. I need to be able to print to names to be in the header above the details section. Any suggestions? Access Reports Discussions Excel (1) Report (1) Jacqueline (1) Appropreate (1) Subreport (1) Emualte (1) Eaiser (1) Lables (1) I did