Solved

Pivot help - calculated field

Posted on 2014-12-01
5
116 Views
Last Modified: 2014-12-01
experts,

I have a query as a Pivot Table view.
I used the button "Auto Calc"
It summs as expected.

I need to add another column that shows the summ as a percent of the overall total.  
I can change the Auto Calc sum to "show as percent of Grand Total" but I also lose the subtotals.  

How can I add another column that will show the percent of the overall total but keep the subtotals?  

Pivot
0
Comment
Question by:pdvsa
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40473878
Add a second, duplicate Amount field in your query (definitely named), and drag that into the "Drop Totals of Detail Fields Here", and change that one to %s.
0
 

Author Comment

by:pdvsa
ID: 40473953
Philip:  that seems to be pretty close.  I drag the [Amount] into the query as a duplicate field and gave it a name then I show the field list and drag this new duplicative field into the pivot and I can show it as Percent of Grand Total but the [Amount] is duplicated.  I have 2 columns that show [Amount] but in the duplicative column I do have a percent but just need to remove the duplicate [amount].    Not sure if you follow.
0
 

Author Comment

by:pdvsa
ID: 40473959
Pivot
0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40473966
Move the date to the row field - it should then disappear.Access form
0
 

Author Closing Comment

by:pdvsa
ID: 40474742
thank you Philip.  Have it working now...
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now