Solved

Running Sum in Access Pivot Table?

Posted on 2012-03-12
4
390 Views
Last Modified: 2012-03-13
Hello - can you set up a column to have a running sum in Access Pivot Tables (2010)?

If so, how?

Thanks
0
Comment
Question by:mlagrange
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
danishani earned 250 total points
ID: 37711342
As far as I know of you can create a Running Sum Query and with that you can set the Recordsource to that query in your Pivot Table and use it. Will that work for you?
0
 

Author Comment

by:mlagrange
ID: 37711409
In this particular case, the field I want to sort by (and would have to use as the comparison in the "DSum()" running sum method) is a prioritization score, which carries 14 decimal places, and still is not unique! (in fact, it is often duplicated! it is calculated in individual excel spreadsheets for construction & maintenance projects, which I import & merge)

The other running sum method I know of (the "Global Module" one) is not my favorite, because of the need to initialize.    

I was hoping the Access Pivot Table was smart enough to do that. Excel will do it, I think?
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 250 total points
ID: 37712310
You never replied directly to I was hoping the Access Pivot Table was smart enough to do that. Excel will do it, I think?'s post.
Did you try it or not?
AFAICT, it should work.

<I was hoping the Access Pivot Table was smart enough to do that. Excel will do it, I think?>
Are you asking us, or telling us?
I don't see a "Running Sum" option for Excel Pivot tables...

What version of Access?
What is the design of your source table
What is the design of your Pivot table?

This is why a sample DB always make things clearer.
Sample database notes:
1. Back up your database(s).
2. Combine the front and back ends into one database file.
3. Remove any startup options, unless they are relevant to the issue.
4. Remove any records unless they are relevant to the issue.
5. Delete any objects that do not relate directly to the issue.
6. Remove any references to any "linked" files (files outside of the database, Images, OLE Files, ...etc)
7. Remove any references to any third party Active-x Controls (unless they are relevant to the issue)
8. Remove, obfuscate, encrypt, or otherwise disguise, any sensitive data.
9. Compile the code. (From the VBA code window, click: Debug-->Compile)
10. Run the compact/Repair utility.
11. Remove any Passwords and/or security.
12. If a form is involved in the issue, set the Modal and Popup properties to: No
    (Again, unless these properties are associated with the issue)
13. Post the explicit steps to replicate the issue.
14. Test the database before posting.

In other words, ...post a database that we can easily open and immediately see and/or troubleshoot the issue.
And if applicable, also include a clear graphical representation of the *Exact* results you are expecting, based on the sample data.


JeffCoachman
0
 

Author Comment

by:mlagrange
ID: 37712821
Here is a pretty good solution I found:
http://www.tek-tips.com/faqs.cfm?fid=5268
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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

15 Experts available now in Live!

Get 1:1 Help Now