Skip to main content

How to Add Up the Number of Rows of a Default Table on Dashpivot Web

Learn how to count the number of rows in a default table using a formula in Dashpivot

Adriana De Souza avatar
Written by Adriana De Souza
Updated this week

When using default tables in Dashpivot, the number of rows isn’t fixed β€” users add rows as they complete the form. You can automatically count how many rows have been added by using a formula. This lets you display the total number of entries in a separate prefilled table cell.

Prerequisites

Before you begin make sure you have the following:

  • Plan: All Plan Types

  • Permission: Home Folder (Template Library) – Org Controller (or higher); Team Folder – Project Controller (or higher)

  • Skills Required: Dashpivot

  • Device Type: computer

  • Subscription: Dashpivot

Step-by-Step Instructions

  1. In the Template Editor, select Default table from the left panel under Table.

  2. Design your data table as required for your form.

  3. Select Prefilled table from the left panel under Table.

  4. Designate a cell in the prefilled table as your display cell.

  5. Change the display cell to a Formula field.

  6. Enter the following formula in the display cell:

    =COUNTA(Source_Table!Column:Column)
  7. Replace Source_Table with the name of your default table.

  8. Replace Column with a column that is guaranteed to contain a value in every row.

Example:

If your default table is named Table1 and you want to count entries using Column A, enter:

=COUNTA(Table1!A:A)

This will automatically display the total number of rows added to the default table.

Did this answer your question?