G
Guest
I have a pie chart in the detail section of a report. The select query
(recordsource) is summing the items and is filtered by date criteria from my
report form and looks like this: ([Opened] >=#01/01/2007#) AND ([Opened] <=
#03/31/2007#). This produces multiple records for each source and looks like
this:
Source Opened Total
Equity 1/5/2007 5
Equity 1/8/2007 3
Fixed Income 1/4/2007 7
Fixed Income 1/7/2007 5
There are over ten sources besides Equity and Fixed Income and I get date
totals for each. Now this looks great for a summary report but is messed up
for a pie chart. What I want is Equity to total to 8 and Fixed Income to
total to 12 etc. and display those totals in the pie chart. To accomplish
this on the numerical reports I leave the detail section empty and use a sum
over group to total these numbers. Is there some sort of similar trick with
charts?
On a related issue, do I have to type in the Source and value in the
datasheet? This does not seem dynamic enough for a database. Because of the
filtering, some sources will have no records, and the totals will change
based on the dates selected. As always, any help will be greatly appreciated.
Thanks.
(recordsource) is summing the items and is filtered by date criteria from my
report form and looks like this: ([Opened] >=#01/01/2007#) AND ([Opened] <=
#03/31/2007#). This produces multiple records for each source and looks like
this:
Source Opened Total
Equity 1/5/2007 5
Equity 1/8/2007 3
Fixed Income 1/4/2007 7
Fixed Income 1/7/2007 5
There are over ten sources besides Equity and Fixed Income and I get date
totals for each. Now this looks great for a summary report but is messed up
for a pie chart. What I want is Equity to total to 8 and Fixed Income to
total to 12 etc. and display those totals in the pie chart. To accomplish
this on the numerical reports I leave the detail section empty and use a sum
over group to total these numbers. Is there some sort of similar trick with
charts?
On a related issue, do I have to type in the Source and value in the
datasheet? This does not seem dynamic enough for a database. Because of the
filtering, some sources will have no records, and the totals will change
based on the dates selected. As always, any help will be greatly appreciated.
Thanks.