D
DPCpresto
Aloha,
I have a crosstab query that lists Countries as the row headings, number of females as one column heading, number of males as another column heading, and finally, total of both Male+Female as last column. Is it possible to also extract percentages for the male and female columns? I would like to do this within ACCESS 2000 and not export to Excel for the math. This would also help me with several of my other, similar, crosstab queries. Following is the query example:
Country TotalofID Female Male
USA 8 4 4
GER 10 2 8
etc......
My SQL for the above is...
TRANSFORM Count(AllAthletes2003.ID) AS CountOfID
SELECT AllAthletes2003.Country, Count(AllAthletes2003.ID) AS [Total Of ID]
FROM AllAthletes2003
GROUP BY AllAthletes2003.Country
PIVOT AllAthletes2003.Gender;
What I want is this...
Country TotalofID Female Male Female% Male% OverallF% OverallM%
USA 8 4 4 50% 50% 66% 33%
GER 10 2 8 20% 80% 33% 66%
Thanks in advance for the help!
Mahalo,
David P. Cobb
I have a crosstab query that lists Countries as the row headings, number of females as one column heading, number of males as another column heading, and finally, total of both Male+Female as last column. Is it possible to also extract percentages for the male and female columns? I would like to do this within ACCESS 2000 and not export to Excel for the math. This would also help me with several of my other, similar, crosstab queries. Following is the query example:
Country TotalofID Female Male
USA 8 4 4
GER 10 2 8
etc......
My SQL for the above is...
TRANSFORM Count(AllAthletes2003.ID) AS CountOfID
SELECT AllAthletes2003.Country, Count(AllAthletes2003.ID) AS [Total Of ID]
FROM AllAthletes2003
GROUP BY AllAthletes2003.Country
PIVOT AllAthletes2003.Gender;
What I want is this...
Country TotalofID Female Male Female% Male% OverallF% OverallM%
USA 8 4 4 50% 50% 66% 33%
GER 10 2 8 20% 80% 33% 66%
Thanks in advance for the help!
Mahalo,
David P. Cobb