Count and total child records with Pivot
Compare how many child records belong to each parent, or add up a numeric field for each child table.
Count child records by parent
- Open a parent table under Tables. For example, open Projects to compare the number of requests linked to each project.
- Select View → Pivot. The option is available on supported tables with at least one configured child table.
- Open View options → Descendant Tables and select the tables you want to summarize. In the project example, keep Requests selected and deselect the other tables.
- Under Aggregation, choose Count. In a populated result, find a project in the Parent column and read across to see its count for each selected table.
Read the totals
In Count mode, when more than one descendant column is shown, the Total column adds the counts across those columns for each parent. The Total row at the bottom adds values down each column for the parent rows already loaded. If more parent rows are available, scroll to load them before using the footer for reporting.
Total a numeric field
Under View options → Aggregation, choose Sum. For each selected table, choose the field to add up, such as an estimated-hours field on a child table. Read each column’s sum on its own, since different tables can use different measures. If the table shows No Numeric Fields, use Count or select a table that has the numeric field you need.
Check an empty or unexpected result
Select a count or sum in the Pivot table to open Drilldown. For example, select a project’s Requests count to see the requests behind it. Select an item to open its record. When using Sum, the list shows the selected field’s value for each item.
Choose Open full list to open the child table filtered to that parent. This replaces the child table’s active filters, so check Filter if you need to narrow the list further.
- If no parent rows appear, switch to Table and check that the active filters include the parent records you expect.
- If the parent rows appear but a child table is missing, check View options → Descendant Tables. If a number appears too low, confirm the records are linked through the table hierarchy and that you have access to them. Learn how to link related records.
- If a sum looks wrong, confirm the field selected for that table and check its values on the underlying records.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?