Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2022
    Posts
    4

    Angry How do I create a simple percentage bar chart

    Clearly being dumb but need to create this sort of chart (which I mocked up in Excel):



    Click image for larger version. 

Name:	ChartExample.png 
Views:	17 
Size:	24.8 KB 
ID:	47535

    ...in Access from this table (greatly simplified for illustration):

    Click image for larger version. 

Name:	Screenshot 2022-03-25 at 13.36.50.png 
Views:	17 
Size:	10.6 KB 
ID:	47534

    Just to go on a form or report. Can easily do if I put "protein", "carbs" and "fats" as values in new table (e.g. in a "FoodGroups" field) but that is tedious given how the data is structured. Surely there's a simple way?

    Cheers!
    Attached Thumbnails Attached Thumbnails ChartExample.png  

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    make a query that produces the results, bind this query to the chart.

    for setup do this:
    in the chart, dbl-click the chart object,
    in the chart datasheet, delete the fake data,
    paste the results of your query. This will 'prime the pump' with actual data.
    save

    now the chart should show query results.

  3. #3
    Join Date
    Mar 2022
    Posts
    4

    Thumbs up

    Quote Originally Posted by ranman256 View Post
    make a query that produces the results, bind this query to the chart.

    for setup do this:
    in the chart, dbl-click the chart object,
    in the chart datasheet, delete the fake data,
    paste the results of your query. This will 'prime the pump' with actual data.
    save

    now the chart should show query results.
    That worked perfectly! Thank you!

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

Similar Threads

  1. make a pie chart from table of percentage
    By titiakila in forum Access
    Replies: 3
    Last Post: 08-30-2021, 03:19 PM
  2. Replies: 12
    Last Post: 03-16-2021, 02:46 PM
  3. Replies: 4
    Last Post: 10-24-2020, 02:16 PM
  4. Replies: 2
    Last Post: 11-10-2017, 07:52 PM
  5. Replies: 9
    Last Post: 01-29-2013, 06:44 PM

Tags for this Thread

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