Results 1 to 2 of 2
  1. #1
    treyxman is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    15

    Cumulative Percentage and dsum


    Hi all,

    I have been trying to figure out this problem for days and have been surfing the web for countless hours and can't come up with a solution....Ultimately I am trying to create a query that allows for multiple pareto analysis charts to be created.

    I have the charts and they work for the most part, however the cumulative percentage isn't working right. I have tried the syntax from http://support.microsoft.com/kb/304180 but this won't work for me since it just reads a bunch of 1s in the Cumpct column. From what I've learned on the web I need to add a tiebreaker in the syntax, but when I do this I just get a cumulative percentage that makes no sense.

    Anybody have any ideas?? Thanks!
    -Trevor

  2. #2
    treyxman is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    15
    Here is my version of the microsoft help that i got from the link..

    CumPct: DSum("[CountOfItem #]","tblMainReports","[CountOfItem #]>=" & [CountOfItem #Total] & "")/DSum("[CountOfItem #]","tblMainReports")

    and here is the syntax that I have come up with, using the Issue ID as a "tiebreaker"...

    CumPct: ( DSum("[CountOfItem #]","tblMainReports", "[CountOfItem #]>=" & [CountOfItem #Total] & " AND [Issue ID]<="&[Issue ID]))/DSum("[CountOfItem #]","tblMainReports")

Please reply to this thread with any new information or opinions.

Similar Threads

  1. cumulative total
    By afshin in forum Queries
    Replies: 14
    Last Post: 08-11-2011, 01:42 AM
  2. Cumulative Limit Concept
    By Bedsingar in forum Access
    Replies: 5
    Last Post: 07-29-2011, 06:32 AM
  3. cumulative sum how
    By arctushar@yahoo.com in forum Queries
    Replies: 2
    Last Post: 10-07-2010, 08:43 PM
  4. cumulative rainfall query
    By wilkesgra in forum Queries
    Replies: 5
    Last Post: 09-29-2010, 07:27 AM
  5. Cumulative sum (columns)
    By ravens in forum Queries
    Replies: 1
    Last Post: 03-02-2010, 08:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums