# How do Summary reports organize data groupings and subtotal calculations for business users?

**Topic:** Admin · **Difficulty:** Medium · **Tags:** Admin, Report Formats, Summary Reports

Read it on the site: https://www.forcechallenges.com/interview-questions/how-do-summary-reports-organize-data-groupings-and-subtotal-calculations-for-business-users

## Answer

**Basics:** If a tabular report lists records, a summary report answers "how many and how much per group", such as opportunities by stage or cases by owner. Grouping happens on rows, and each group displays subtotals (sum, average, min, max, record count).

**How it works:**
1. Create a report, then add Group Rows by a field (Stage, Owner, Created Date by month).
2. Add up to two further nested groupings (three levels total).
3. Click a numeric column and choose Summarize this field: Sum, Average, Max, Min (and Median in Lightning).
4. Optionally use Show Details or Subtotals Only, add a chart, conditional highlighting and a row limit with Top N.
5. Save into a folder, then add it to a dashboard; the chart groupings become the dashboard axes.

**Advanced / deep dive:** Summary reports can use Summary Formulas (custom summary formulas) for ratios and percentages, plus bucket fields and row-level formulas. Matrix reports add column groupings (up to two row and two column groupings); Joined reports combine blocks. Report Types decide which fields and relationships are available, and filters (including cross filters and filter logic) shape the data before grouping. Detail rows displayed are capped (around 2,000 in the UI; verify), but group totals reflect the full filtered data set, so a summary can be accurate even when details are truncated. Date groupings use the fiscal calendar if Fiscal Year is enabled, which is a common source of confusion. Reports run in the context of the running user (or dashboard running user), so sharing and field-level security affect totals. For very large data, use report filters, indexed fields, and consider CRM Analytics or an external warehouse.

**Code / config example:**
```
Report: Pipeline by Stage and Owner
 Type: Opportunities
 Group Rows: Stage (level 1), Opportunity Owner (level 2)
 Summaries: Sum of Amount, Record Count, Average of Amount
 Custom Summary Formula (Win rate): 
   Opportunity.WonCount__c:SUM / RowCount   // example if a won counter field exists
 Chart: Stacked bar by Stage -> add to dashboard
```

**Hidden gotchas & must-remember points:**
- Maximum three row groupings in a Summary report.
- Only summary and matrix reports can use Summary Formulas for group-level calculations.
- Dashboards require reports with groupings (or row-limited tabular).
- Totals use all matching records, even if details are truncated.
- Fiscal vs calendar date groupings give different buckets.
- Running user visibility changes dashboard numbers.

**Best practice:** Group by the fields users actually ask questions about, keep filters tight, and use summary formulas rather than exporting to a spreadsheet.

---
Source: ForceChallenges · last updated 2026-11-02
