A neat trick that many GoCanvas users have implemented in their forms is counting rows in a Table.
Count Rows in a Table
This can be applied to many different scenarios but some examples that we see often are counting passed or failed inspection items or assessing risk in the field by assigning hazard ratings that can be summarized for quick reference. Our customers have found many ways to benefit from this trick and perhaps your team could benefit from this automation.
- Navigate to the Forms page in your portal and either edit an existing form or start from scratch.
- Navigate to an existing table or add a new one.
- Add a Number field and give it a descriptive name, i.e. “First Floor Count” in our example.
- Select the gear icon to open Field Settings and add a Default Value of 1.
- An optional step is to uncheck Mobile Visible under the More toggle to reduce confusion for users in the field.
- On another screen, add a Calculation field and give it a descriptive name, i.e. “First Floor Summary” in our example.
- In Field Settings, toggle to Calculation and select the Table Calculation radio button and Sum will automatically be selected.
- Under "Sum up values in..." expand the Table drop down and select the table where the count field is located, i.e. "First Floor" in our example.
- Expand the Column drop down and select the field that will be summarized, i.e. "First Floor Count" in our example.
Now you have a summary field that will count every row in the loop screen.
GoCanvas Tip
GoCanvas experts presented a Webinar where we cover Counts & Summaries with a condition for an extra level of specificity in your count.
Did we answer your question?
We'd really appreciate your feedback! If you decide to downvote, please leave your suggestions for improvement in the comments or let us know what you're looking for so we can assist you better. We want to help, but we need to understand your needs!
Comments
0 commentsPlease sign in to leave a comment.