Counting the number of table rows

Article number:040758

You can count the number of table rows by placing a number field in a table and summing up the number using the SUM function in the Calculated field.​​​​​​
Screenshot: The total number of rows within the table is displayed in the "Calculated" field

Place a "Number" field in a table, then click Settings from the gear-shaped Field settings icon at the top right of the field.​​​​
Screenshot: The "Settings" option in the menu displayed by the "Settings" icon (located in the upper right corner of the "Number" field) is highlighted

Enter a string of your choice for the field name and the field code, and specify '1' as the default value.​​​​​​
In this example, enter "Count" for the filed name and the field code.​​​​
Screenshot: The "Name", "Default value", and "Field code" fields are highlighted on the "Number settings" screen

Place a Calculated field outside of the table, then click Settings from the gear-shaped Field settings icon at the top right of the field.
Screenshot: The "Settings" option in the menu displayed by the "Settings" icon (located in the upper right corner of the "Calculated" field) is highlighted

Enter a string of your choice for the field name, specify "SUM(Count)" as the formula, and save the settings.​​​​
Screenshot: The "Name" and "Formula" fields are highlighted on the "Calculated settings" screen

Now, the number of table rows is calculated.