
Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
Allen:
From my membership table I already make a query with a calculated field as
follows:
TotalAll: Sum(IIf([JenisKel] Is Not Null,1,0))
TTLMale: Sum(IIf([JenisKel]="L",1,0))
TTLFemale: Sum(IIf([JenisKel]="P",1,0))
ActiveMale: Sum(IIf([STAT_CODE]="A" And [JenisKel]="L",1,0))
ActiveFemale: Sum(IIf([STAT_CODE]="A" And [JenisKel]="P",1,0))
PassiveMale: Sum(IIf([STAT_CODE]="I" And [JenisKel]="L",1,0))
PassiveFemale: Sum(IIf([STAT_CODE]="I" And [JenisKel]="P",1,0))
But when I tried to make a pie chart ( I just need a proportion to total, no
time series) using insert chart and I follow the wizzard instruction, but It
can not shows more than one axis data.
Could you please help me how can we make it
Thanks in advance

Signature
H. Frank Situmorang
> I think you will have to make a query that gives you the grouping you need
> (e.g. group by gender, and by status.)
[quoted text clipped - 44 lines]
> >> >
> >> > How can I put graph on the page footer too.
Allen Browne - 09 Apr 2008 13:52 GMT
I can't really help you with this, Frank.
Someone else may be able to make a suggestion.

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> Allen:
>
[quoted text clipped - 15 lines]
>
> Could you please help me how can we make it
Duane Hookom - 09 Apr 2008 15:00 GMT
I'm not sure how you would create a single pie chart since it looks like you
would create at least 3 whole pies.
One of the issues is that you have "un-normalized" you table by creating
multiple fields/columns rather than multiple records. It is much easier to
create a graph if your Row Source produces records like:
Active Males 20
Active Females 13
Passive Males 8
Passive Females 3
Your Row Source SQL might look something like:
SELECT IIf([STAT_CODE]="A","Active","Passive") & IIf([JenisKel]="L"," Male",
" Female") As GenderStatus, Count(*) As NumOf
FROM tblNoName
GROUP BY
IIf([STAT_CODE]="A","Active","Passive") & IIf([JenisKel]="L"," Male", "
Female");

Signature
Duane Hookom
Microsoft Access MVP
> Allen:
>
[quoted text clipped - 64 lines]
> > >> >
> > >> > How can I put graph on the page footer too.