Sub topic 4
Tabular Reports: The Starting Point
This chapter assumes you can navigate Lightning Experience, understand objects, records, fields, and relationships (for example Account to Opportunity), and have permission to create and run reports. It also assumes you have chosen a report type, which the earlier chapter covered.
A tabular report is the simplest of the four report formats. Every other format builds on it. If you understand what a tabular report does and where it stops, the later formats (summary, matrix, joined) will make sense as extensions of the same idea.
What a tabular report is
A tabular report lists records in rows and fields in columns, like a spreadsheet. It has no groupings. Each row is one record from the report type's primary object, and each column is a field you chose to display.
Because nothing is grouped, a tabular report cannot show subtotals or compare groups. It can show one grand total for the whole result set. That limit is the reason the other formats exist.
Use a tabular report when the question is "which records match?" and not "how do the records add up by category?" Typical examples:
- A call list of open leads in a region.
- An export of all contacts with missing email addresses.
- A top-10 list of the largest open opportunities.
Building a tabular report
The steps below use the Opportunities report type, but any report type works the same way.
- In Lightning Experience, open the Reports tab and select New Report.
- Choose a report type, such as Opportunities, and select Continue (or Start Report).
- In the report builder, switch the format to Tabular if it is not already selected. The format option appears in the Outline panel.
- Add columns from the Outline panel. Add fields such as Opportunity Name, Stage, Amount, Close Date, and Owner.
- Set filters (covered below).
- Choose Save & Run.
Column order is the order in which you add or drag the fields. You can reorder columns by dragging them in the Outline panel or in the preview.
Choosing columns deliberately
Every column you add is one more field the report must retrieve. Wide reports are slower to run and harder to read. Add only the fields the reader needs to act on.
Fields from related objects are available only if the report type includes those objects. If you need Account Industry on an opportunity report, the report type must expose the Account relationship. If it does not, you must use a different report type. Adding a column cannot change the report type's joins.
Sorting and row limits
A tabular report sorts by whichever column you choose. Click a column header to sort ascending or descending. You can also set a sort in the column's menu.
Sorting combined with a row limit makes tabular reports good for "top N" lists. In the report builder, you can set a Row Limit and pick the sort field and direction. For example, to list the five largest opportunities:
- Sort by Amount, descending.
- Set the row limit to 5.
The row limit applies after filtering and sorting. A row-limited report shows a limited number of rows and omits the rest from totals and from any chart based on it. A report with a row limit is also what lets a tabular report feed a dashboard chart (more on that below).
Filters in a tabular report
Filters decide which records enter the report at all. In a tabular report you have three kinds of filter control:
- Scope. Which records the report considers, such as All opportunities, My opportunities, or My team's opportunities. The available choices depend on the object.
- Standard filters. Usually a date field and a range, such as Close Date in the current fiscal quarter.
- Field filters. Conditions like Stage not equal to Closed Lost, or Amount greater than 10000.
Filters combine with AND by default. You can use filter logic to combine them differently, for example 1 AND (2 OR 3), where the numbers refer to the filters in the order they appear.
Some common errors with filters:
- Blank values. A condition such as Stage not equal to Closed Lost still includes records where Stage is blank. Whether blanks matter depends on the field. Check the result rather than assuming.
- Date range mismatch. "Current FQ" uses your org's fiscal year setting. If your org uses a custom fiscal year, the range may differ from the calendar quarter you expect.
- Scope too narrow. A report with "My opportunities" returns different rows for each person who runs it. Two users looking at the same saved report can see different data.
You can also filter with a cross filter, which includes or excludes records based on whether related records exist. For example, you can list Accounts with Opportunities that are closed won, or without any Cases. A cross filter works on the report's primary object and a related object, and it does not add columns from the related object.
Totals and the record count
A tabular report displays a Record Count and, for numeric columns, a grand total at the bottom. In Lightning Experience you can summarize a numeric column with sum, average, minimum, or maximum from the column menu. In a tabular report these values apply to the whole result, not to groups.
The grand total row is also the part that disappears once you add a row limit's effect on the data, as the warning above notes.
Limits of the tabular format
Tabular reports are efficient for lists, but they have limits that you should know before you rely on them.
| Need | Tabular report | What to use instead |
|---|---|---|
| Subtotals by category | Not available | Summary report |
| Compare two dimensions | Not available | Matrix report |
| Combine different report types | Not available | Joined report |
| Chart on a dashboard | Only with a row limit | Summary or matrix report |
| Export all matching rows | Good fit | (Tabular is the right choice) |
Two points in the table need explanation.
First, tabular reports in a dashboard. A dashboard component needs something to aggregate or rank. A tabular report with no grouping has nothing to chart, so you can use it in a dashboard only when it has a row limit. The row limit tells the dashboard which records to show, and the component can then display a table or a chart of those top rows.
Second, exports. When you export a report, a tabular format gives you one row per record, which is the easiest to load into a spreadsheet or another system. Summary and matrix reports export their groupings and subtotals as well, which you may need to clean up before the data is usable elsewhere.
From tabular to summary
Adding a grouping to a tabular report converts it to a summary report. The records remain, but the report now organizes them under group headings and can calculate subtotals. The next chapter covers groupings in detail.
The flow looks like this:
You can switch between formats in the report builder. When you move from summary back to tabular, the builder removes the groupings. Reports built on top of a grouping, such as a chart, may stop working when the grouping disappears.
A worked example
Suppose a sales manager asks: "Which open opportunities over $50,000 are closing this quarter, and who owns them?"
This question asks for records, not for totals by category, so a tabular report fits.
- Create a report from the Opportunities report type.
- Set the scope to All opportunities.
- Add a standard filter: Close Date equals Current FQ.
- Add field filters: Closed equals False, and Amount greater than 50000.
- Add columns: Opportunity Name, Account Name, Stage, Amount, Close Date, Opportunity Owner.
- Sort by Amount descending.
- Save the report as "Large Open Opportunities This Quarter".
Now the manager asks a follow-up: "How much is that by owner?" That question is about totals by category. Add a grouping on Opportunity Owner and the report becomes a summary report. The same filters and columns carry over, and the report gains a subtotal for each owner.
This is the usual way reports grow. Start with a tabular report to confirm that the filters return the records you expect. Then add groupings once you trust the rows.
Common mistakes
- Using tabular for a question that needs totals. Copying rows to a spreadsheet and summing them by hand is a sign that a summary report is the right format.
- Forgetting the row limit effect. A top-N report's total is not the total for all matching records.
- Assuming the report type has the field. If the field is not in the Outline panel, the report type does not expose it.
- Sharing a report scoped to "My" records. Other users will see their own records, not yours.
Exercise
A manager wants a list of all accounts in the Technology industry that have no open cases, with the account owner shown. Which report format fits, and which filter feature handles "no open cases"?
Show answer
A tabular report fits because the question asks for a list of records and does not need subtotals. Use the Accounts report type, add a field filter for Industry equals Technology, and add a cross filter that excludes accounts with cases where the case is open (for example, Accounts "without" Cases, with a case filter of Closed equals False). Show Account Name and Account Owner as columns.
Exercise
You build a tabular opportunity report sorted by Amount descending with a row limit of 10. Its grand total is $400,000, but the same report without the row limit shows $1,250,000. Why do the totals differ, and which figure is the total for all matching opportunities?
Show answer
The row limit is applied after filtering and sorting, so the grand total covers only the top 10 rows. The $1,250,000 figure, from the report without the limit, is the total for all matching opportunities.