Group rows under a parent total in an Analytics Table

Nest detail rows, sum them in their parent row, and check the report’s overall subtotal.

Group related rows when readers need a total and the detail behind it. For example, show Email and Phone request counts beneath Support while keeping the count for Operations on its own row.

Set up the parent and detail rows

  1. Open an Analytics Table with a count column. On the dashboard, select Configure widget, then find Rows in Data.
  2. Open the Support data row, or create it with Add data row. Move it above its detail rows using the drag handle, then set Row calculation to Sum children.
  3. Add or open the Email and Phone data rows. Set Parent row to Support on each one. Keep Row calculation on Direct value and use Row filters to include requests for just that channel within Support.
  4. Select Update Widget. Check that the two detail rows appear indented under Support and that the Support count equals their sum.

Check the overall subtotal

If the report has an overall subtotal, place it below the parent, the detail rows, and Operations. In Source rows, choose the Support parent and Operations, or leave the selection empty when those are the only top-level data rows above the subtotal. Save and check the result. If the detail rows have 12 email requests and 8 phone requests, Support should show 20. With 5 more requests in Operations, the overall subtotal should show 25.

If Support is missing from a detail row’s Parent row choices, check that it is a data row positioned above the detail. If the parent total is higher than expected, compare the two detail filters in the source table. Overlapping filters can count one request in more than one detail row.

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy 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?