Results 1 to 5 of 5
  1. #1
    fahimnaimi is offline Novice
    Windows 8 Access 2013
    Join Date
    Jan 2016
    Location
    Kabul, Afghanistan
    Posts
    3

    Showing the required table in report


    How can i make similar to this content in a table of excel to my report in access.

    Click image for larger version. 

Name:	tbl.jpg 
Views:	7 
Size:	161.1 KB 
ID:	23402

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Probably won't be easy.

    Depends on your data structure. We really can't advise specifics without knowing more about your db.

    Looks like may need CROSSTAB queries. Review http://allenbrowne.com/ser-67.html
    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.

  3. #3
    fahimnaimi is offline Novice
    Windows 8 Access 2013
    Join Date
    Jan 2016
    Location
    Kabul, Afghanistan
    Posts
    3
    June7,

    I did cross tab and to some extent it worked, but the difficult part is the Change (Unit and %) since i need to subtract 2015-Q3 from 2015-Q2 that is under one field (Quarter). Also in cross tab i can calculate only one field and not more that that in one cross tab query.

  4. #4
    fahimnaimi is offline Novice
    Windows 8 Access 2013
    Join Date
    Jan 2016
    Location
    Kabul, Afghanistan
    Posts
    3
    Here is my db. having a table MV DB.accdb

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    You have the CROSSTAB that gives the numbers by year/quarter. Now use it in another query (or as a report RecordSource) that does the arithmetic with the fields.

    Problem with CROSSTAB is you will have to edit the second query (or report) every quarter because the fieldnames change and the expressions will no longer work.

    You did not include attempted queries in the db. Post the SQL statement of query.
    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: 8
    Last Post: 07-13-2015, 12:51 PM
  2. Replies: 7
    Last Post: 04-02-2015, 07:25 AM
  3. Replies: 15
    Last Post: 04-16-2014, 01:15 PM
  4. Replies: 16
    Last Post: 09-17-2013, 04:35 PM
  5. Replies: 2
    Last Post: 04-29-2009, 11:50 AM

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