Dashboard Module Stats
Dashboard module stats allow you to display the summed value of number fields from a Status Board on the Dashboard.
⚠️ ATTENTION: As this only works with number fields you must first have a number field on your status board template.
To display status board module stats on the dashboard:
- Go to the Admin Area
- Expand Templates
- Click the Edit icon on the status board you wish to edit
- Scroll to the bottom of the page and click +Advanced Options
- Click Add next to Dashboard module status
- In this article's example to display the summed value for both Shelter Capacity and Shelter Occupancy on the dashboard you must obtain the field IDs for both of the number fields
- Click the ⋮ more options menu icon in the top right of the field to view the name, referred to as the Field ID
- The field IDs for Shelter Capacity is capacity and the field name for Shelter Occupancy is current_occupancy
- To sum the total number for Shelter Capacity and display it on the dashboard, enter the following in Value expression:
- {{items | map:'data.capacity' | add}}
- Click Add
- To sum the total number for Shelter Occupancy and display it on the dashboard, enter the following in Value expression:
- {{items | map:'data.current_occupancy' | add}}
- This is what it should look like in your account. Whatever you enter in the Label box will appear as the label on the dashboard
- Click Save