A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

PivotChart data label as a percent.



 
 
Thread Tools Display Modes
  #1  
Old September 30th, 2007, 10:50 PM posted to microsoft.public.access.forms
JohnW
external usenet poster
 
Posts: 107
Default PivotChart data label as a percent.

Hi,

This is a Buying Decision questionnaire's results.

I would like to show a percent of the total instead of the count on the top
of each bar in the form's PivotChart. At the moment it shows the count for
each category at the top of the bar.

The underlying query is as follows (forgive the lengthy names). There is a
main table, tblQ_0, for question number Zero and a validation table,
vtblQ_0_BuyingProcess1, to convert the answer code field to text. The query
and chart work fine but I don't understand how to convert my count into a
percentage of the total 'population'.

SELECT Count(tblQ_0.[0a Decision on Which supplier]) AS [CountOf0a Decision
on Which supplier], vtblQ_0_BuyingProcess1.Q_0_AnswerCode,
vtblQ_0_BuyingProcess1.AnswerText
FROM tblQ_0 RIGHT JOIN vtblQ_0_BuyingProcess1 ON tblQ_0.[0a Decision on
Which supplier] = vtblQ_0_BuyingProcess1.Q_0_AnswerCode
GROUP BY vtblQ_0_BuyingProcess1.Q_0_AnswerCode,
vtblQ_0_BuyingProcess1.AnswerText
ORDER BY vtblQ_0_BuyingProcess1.Q_0_AnswerCode;


Hope you can help and thanks for looking.

John
--
John Whyte
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.