Privateer
Registered User.
- Local time
- Yesterday, 20:18
- Joined
- Aug 16, 2011
- Messages
- 193
I created a pie chart in a form and did all the formatting there. Then I added it to a report and slid that report onto the main report. This whole process has worked fine with other sub reports, but his pie chart is doing something interesting. It there are four slices in the pie, I am getting four pies, each with the four slices; ten slices, ten pies. Now as good as that sounds I only want one pie. The source table lists the information four times and I am linked by the Master/Child field. I suspect that because the data is in columns and the master report with one portfolio ID is being linked to four records that that is causing the four pies. How do I keep the four slices but get rid of three pies?
The source data for the pie is like this:
PortfolioID, State, AssetCount
1 CA 65
1 NV 5
1 HI 1
1 TX 6
The row source for the pie is: (The wizard did this and it seemed to work)
SELECT [State],Sum([AssetCount]) AS SumOfAssetCount FROM [tblReport12Sub4] GROUP BY [State];
There is no criteria here because the Master/Child link should handle that. Anyway, that is the situation. Any help would be greatly appreciated.
The source data for the pie is like this:
PortfolioID, State, AssetCount
1 CA 65
1 NV 5
1 HI 1
1 TX 6
The row source for the pie is: (The wizard did this and it seemed to work)
SELECT [State],Sum([AssetCount]) AS SumOfAssetCount FROM [tblReport12Sub4] GROUP BY [State];
There is no criteria here because the Master/Child link should handle that. Anyway, that is the situation. Any help would be greatly appreciated.