Results 1 to 4 of 4
  1. #1
    behnam is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    72

    How to create pie chart using multiple query dcounts

    Hi,



    i have 8 queries which run on a table called "trouble reports" I run 8 different queries and get the dcount of the totals, and store it into 8 global variables (R1-R8). How can i use these numbers to generate a pie chart using the numbers from R1-R8, thanks.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Dont used dcounts. Use queries to sum the totals.
    Attache the chart to the query.

  3. #3
    behnam is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    72
    Can u help me on the syntax, what would i write in the query wizard, for example how would i get the sum of a query called "all-exports" in the first column of the query wizard, and the sum of a query called "all-meters" in the second column.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Do the queries have a common identifier field they can be joined on? Do the queries all have the same identifier values?

    I analyze graph issues best when I can work with data. If you want to provide db, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 14
    Last Post: 12-09-2014, 01:12 PM
  2. How to Create Chart in Access 2010
    By braveali in forum Access
    Replies: 8
    Last Post: 04-21-2014, 11:07 AM
  3. Replies: 9
    Last Post: 01-29-2013, 06:44 PM
  4. Replies: 2
    Last Post: 05-01-2012, 08:45 PM
  5. How to create a pivot chart in reports ???
    By Ray67 in forum Reports
    Replies: 5
    Last Post: 10-05-2011, 02:57 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