Bar Chart for Total Houses Built in each year

Tap Forms – Organizer Database App for Mac, iPhone, and iPad Forums Using Tap Forms Bar Chart for Total Houses Built in each year

Tagged: 

Viewing 5 reply threads
  • Author
    Posts
  • August 2, 2022 at 3:59 PM #47701

    Andrew C
    Participant

    I use TapForms to track houses we build. One record per house. I have a field “Year” which records which year each house was completed (2021, 2022, etc.). I would like to create a view which is a Bar Chart, with a single bar for each year, showing total houses built. Is there a way to do this?

    August 2, 2022 at 8:02 PM #47702

    Brendan
    Keymaster

    Hi Andrew,

    Yes you can do this.

    What you want to do is set the Calculation Summary to Count on your Year field.

    Set the Series Fields option on your chart to your Year field.

    Then enable the “Show group summaries” option and you should see the Barnhart show the year at the bottom and the count of the number of homes for each of those years.

    The attached screenshot shows an example. Except in this case it’s the number of movies released in specific years. Just my test data for this example.

    Thanks,

    Brendan

    Attachments:
    You must be logged in to view attached files.
    August 2, 2022 at 8:04 PM #47704

    Brendan
    Keymaster

    Oh, you’ll also want to set the Group Records By option on your form to your Year field.

    August 3, 2022 at 4:50 PM #47705

    Andrew C
    Participant

    Hi Brendan,

    I can’t seem to get anything to display with these settings:

    Sort & Group Settings > Group records By: Year Reported
    Calculation > Field: Year Reported
    Calculation > Type: Count

    X Axis Field: Year Reported (tried a few other options here as well, no difference)
    Series Fields: Year Reported
    Show Values: checked
    Show Group Summaries: checked

    Note – Year Reported is a number field.

    Any suggestions?

    August 4, 2022 at 8:14 PM #47711

    Brendan
    Keymaster

    Can you please email me your form template? Send it to support@tapforms.com

    Thanks,

    Brendan

    August 9, 2022 at 12:34 AM #47758

    Brendan
    Keymaster

    Ok, the issue is that you didn’t have the Field’s Calculation Summary set to Count. Once I set that in your form, the bars showed up.

    The Calculation > Field: Year Reported isn’t quite what you need. That’s set on the Form, but you want it to be set on the Field itself.

    Give that a try and see if it works for you.

Viewing 5 reply threads

You must be logged in to reply to this topic.