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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multiple Totals Columns in a Pivot Table



 
 
Thread Tools Display Modes
  #1  
Old May 20th, 2010, 07:57 PM posted to microsoft.public.access.queries
Danny
external usenet poster
 
Posts: 385
Default Multiple Totals Columns in a Pivot Table

Hi.

I've built a pivot table, and get totals values displayed as expected. In
this case, it's a count of records.

But I also want to see values for several expressions involving select
categories. For example:

Status
______

Location | Total Number of Records | Total of Status1 / Total
Number of Records

Is this possible?

Thanks.

Danny
  #2  
Old May 20th, 2010, 08:35 PM posted to microsoft.public.access.queries
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Multiple Totals Columns in a Pivot Table

There is a method for generating multiple values but it looks at only the
values related to the current Column Heading. For instance if you wanted both
a count and sum for the current Column and Row.

It looks like you want to divide a single column value by a total of all
columns to get a percent.

Have you considered creating a report that divides the status count by the
total count?
--
Duane Hookom
Microsoft Access MVP


"Danny" wrote:

Hi.

I've built a pivot table, and get totals values displayed as expected. In
this case, it's a count of records.

But I also want to see values for several expressions involving select
categories. For example:

Status
______

Location | Total Number of Records | Total of Status1 / Total
Number of Records

Is this possible?

Thanks.

Danny

  #3  
Old May 20th, 2010, 11:59 PM posted to microsoft.public.access.queries
Danny
external usenet poster
 
Posts: 385
Default Multiple Totals Columns in a Pivot Table

Hi Duane.

You're exactly right - I want to divide a specific column total by the Grand
Total. A report would be ok, except I want the user to be able to change the
Group By columns on the fly - which a pivot table would allow, wouldn't it?

Can I base a pivot table on a crosstab query where I would have those
expressions as calculated fields?

"Duane Hookom" wrote:

There is a method for generating multiple values but it looks at only the
values related to the current Column Heading. For instance if you wanted both
a count and sum for the current Column and Row.

It looks like you want to divide a single column value by a total of all
columns to get a percent.

Have you considered creating a report that divides the status count by the
total count?
--
Duane Hookom
Microsoft Access MVP


"Danny" wrote:

Hi.

I've built a pivot table, and get totals values displayed as expected. In
this case, it's a count of records.

But I also want to see values for several expressions involving select
categories. For example:

Status
______

Location | Total Number of Records | Total of Status1 / Total
Number of Records

Is this possible?

Thanks.

Danny

  #4  
Old May 21st, 2010, 01:06 AM posted to microsoft.public.access.queries
Duane Hookom[_4_]
external usenet poster
 
Posts: 316
Default Multiple Totals Columns in a Pivot Table

You could possibly pass in the "a specific column" to the query to create a
Row Heading with your calculated value.


--
Duane Hookom
MS Access MVP


"Danny" wrote in message
...
Hi Duane.

You're exactly right - I want to divide a specific column total by the
Grand
Total. A report would be ok, except I want the user to be able to change
the
Group By columns on the fly - which a pivot table would allow, wouldn't
it?

Can I base a pivot table on a crosstab query where I would have those
expressions as calculated fields?

"Duane Hookom" wrote:

There is a method for generating multiple values but it looks at only the
values related to the current Column Heading. For instance if you wanted
both
a count and sum for the current Column and Row.

It looks like you want to divide a single column value by a total of all
columns to get a percent.

Have you considered creating a report that divides the status count by
the
total count?
--
Duane Hookom
Microsoft Access MVP


"Danny" wrote:

Hi.

I've built a pivot table, and get totals values displayed as expected.
In
this case, it's a count of records.

But I also want to see values for several expressions involving select
categories. For example:

Status
______

Location | Total Number of Records | Total of Status1 /
Total
Number of Records

Is this possible?

Thanks.

Danny


 




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 06:44 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.