7.2 Report Filtering, Grouping & Visualizations

Key Takeaways

  • Report filtering scopes data accurately through Standard Filters (Show Me, Date Field, Date Range), Field Filters (up to 20 criteria per report), and boolean Filter Logic.
  • Filter Logic combines multiple field criteria using AND, OR, and NOT operators with parentheses to evaluate complex conditional rules.
  • Cross Filters isolate parent records based on the existence or absence of related child records ('with' or 'without'), supporting up to three cross filters per report with child sub-filters.
  • Reports support summary aggregations (SUM, AVERAGE, MIN, MAX), a single Row-Level Formula per report for row-by-row computations, and up to five Summary Formulas for grouped metrics.
  • Visual charts require at least one row grouping (Summary, Matrix, or Joined formats) and include Bar, Column, Line, Donut, Funnel, and Scatter visualizations.
Last updated: September 2026

Report Filtering, Grouping & Visualizations

Quick Summary: Filtering and grouping transform vast database repositories into concise, decision-ready business intelligence. Salesforce reports provide a layered filtering architecture consisting of Standard Filters (scoping ownership and relative time horizons), Field Filters (up to 20 criteria with custom boolean logic), and Cross Filters (evaluating parent-child relationships). Authors can group rows and columns, apply summary calculations, build row-level and summary formulas, and embed informative visualizations—from pipeline funnels to trend lines—directly into reports.


Report Filtering Architecture: Precision Data Scoping

When a report runs, it queries records across the entire database. Without targeted filters, reports return excessive, unorganized records that overwhelm users and degrade system performance. Salesforce delivers four complementary filtering mechanisms:

+--------------------------------------------------------------------------+
|                       REPORT FILTERING PIPELINE                          |
|                                                                          |
| [1. Standard Filters]  ---> Scopes ownership (Show Me) & dynamic dates   |
| [2. Field Filters]     ---> Evaluates up to 20 field-specific conditions |
| [3. Filter Logic]      ---> Applies boolean expressions: 1 AND (2 OR 3)  |
| [4. Cross Filters]     ---> Evaluates related child records: with/without|
+--------------------------------------------------------------------------+

1. Standard Filters: Pre-Configured Baseline Scoping

Standard Filters are built directly into every report type and cannot be deleted. They establish the foundational boundaries of the report:

  • "Show Me" Scope Filter: Determines record ownership context based on the viewing user's permissions and role hierarchy:
    • My Opportunities / My Cases: Restricts output strictly to records owned directly by the logged-in user.
    • My Team's Opportunities: Includes records owned by the user and any subordinates below them in the role hierarchy.
    • All Opportunities: Encompasses all records across the organization that the user has permission to view according to Organization-Wide Defaults (OWD) and sharing rules.
  • Date Field Filter: Designates the primary date anchor used to evaluate time constraints (e.g., Close Date, Created Date, or Last Activity Date).
  • Date Range Filter: Establishes the chronological window. Authors can select:
    • Calendar / Custom Dates: Static start and end dates (e.g., 2026-01-01 to 2026-03-31). Static dates require manual updates as time progresses.
    • Relative Date Ranges: Dynamic platform date literals that automatically shift as time advances (e.g., Current FQ, Previous Fiscal Year, Last 30 Days, Today, Next Quarter). Using relative date ranges ensures reports remain perpetually evergreen without ongoing administrative maintenance.

2. Field Filters: Targeted Custom Criteria

Authors add Field Filters to evaluate specific conditions on individual fields:

  • Supported Operators: Includes equals, not equal to, less than, greater than, less or equal, greater or equal, contains, does not contain, starts with, and includes / excludes (for multi-select picklists).
  • Comma-Separated Multi-Value Matching: When filtering text or picklist fields, entering multiple values separated by commas creates an implicit OR condition within that single filter. For example, setting Stage equals Proposal/Price Quote, Negotiation/Review returns deals matching either stage.
  • Filter Limit: A single report can contain up to 20 field filters.

3. Filter Logic: Boolean Expression Evaluation

By default, when multiple field filters are added, Salesforce joins them with an implicit boolean AND statement (1 AND 2 AND 3), requiring every condition to be satisfied simultaneously.

  • When business requirements demand conditional branching (such as finding high-value deals in specific regions), authors enable Filter Logic via the Filters menu dropdown.
  • Authors write custom boolean expressions using AND, OR, NOT, and parenthetical grouping ().
  • Practical Scenario: A sales manager wants to see opportunities that are either located in California (1: State equals CA) OR New York (2: State equals NY), but strictly where the deal value exceeds $50,000 (3: Amount greater than 50000). If left as 1 AND 2 AND 3, the report returns zero records because an opportunity cannot be located in two states at once. The required boolean logic is: (1 OR 2) AND 3.

4. Cross Filters: Evaluating Related Child Records

A Cross Filter evaluates a parent object based on whether it possesses or lacks related child records. It operates across object relationships without requiring child fields to be included as report columns.

  • Syntax Structure: [Parent Object] with [Child Object] OR [Parent Object] without [Child Object].
  • High-Value Use Cases:
    • Orphan / Dormancy Discovery: Identifying "Accounts without Contacts" to find inactive client records, or "Contacts without Cases" to find customers who have never logged support issues.
    • Opportunity Whitespace Analysis: Surfacing "Accounts without Opportunities" to target client accounts with no active sales pipeline.
  • Sub-Filters: Within each cross filter, authors can add up to 5 sub-filters to constrain the child records being evaluated. For example, filtering for Accounts with Opportunities where child sub-filters specify Stage equals Closed Won and Amount greater than 100000.
  • Platform Limits: A report can contain up to 3 cross filters, each supporting up to 5 child sub-filters.

Grouping and Sorting Data Structures

Grouping transforms unstructured rows into structured data categories. The Lightning Report Builder facilitates hierarchical grouping:

  • Row Groupings: Users can group records by up to 3 tiers of row fields in a Summary report (e.g., Level 1: Billing Country, Level 2: Account Type, Level 3: Rating).
  • Column Groupings: In Matrix reports, users add up to 2 column groupings along the horizontal axis, intersecting with row groupings to form a grid.
  • Sorting Hierarchies: Authors can configure how grouped data is sorted:
    • Sort by Group Label: Orders groups alphabetically (A to Z or Z to A) or chronologically by date.
    • Sort by Aggregate Value: Orders groups numerically based on a summarized field (e.g., sorting the Opportunity Owner grouping descending by the SUM of Amount to rank the highest-performing sales reps at the very top of the report).

Calculations in Reports: Summaries and Formulas

Salesforce provides multiple declarative calculation tools within the report builder, spanning simple column roll-ups to advanced mathematical algorithms.

+--------------------------------------------------------------------------+
|                       REPORT CALCULATION TIERS                           |
|                                                                          |
| [Standard Aggregates]  ---> SUM, AVERAGE, MIN, MAX on numeric columns    |
| [Row-Level Formula]    ---> Max 1 per report; calculates on EACH row     |
| [Summary Formula]      ---> Max 5 per report; calculates on GROUPINGS    |
+--------------------------------------------------------------------------+

1. Standard Column Aggregates

On any numerical, currency, or percent column, authors can click the column dropdown to enable one or more standard aggregate functions:

  • SUM: Computes the grand total and group subtotals.
  • AVERAGE: Calculates the arithmetic mean across records in each group.
  • MIN: Displays the lowest numerical value or earliest date in the dataset.
  • MAX: Displays the highest numerical value or latest date in the dataset.

2. Row-Level Formulas vs. Summary Formulas

Understanding the architectural distinctions between Row-Level Formulas and Summary Formulas is a high-frequency exam concept:

DimensionRow-Level FormulaSummary Formula
Evaluation LevelEvaluates individually on every single record rowEvaluates across grouped summary levels or grand totals
Limit Per ReportMaximum 1 row-level formula per reportMaximum 5 summary formulas per report
PrerequisitesCan be created on any format, including TabularStrictly requires at least one Row Grouping
Output Data TypesNumber, Currency, Percent, Date, Date/Time, TextNumber, Currency, Percent
Common Use CasesCalculating day differences (CloseDate - DATEVALUE(CreatedDate)), concatenating strings, row-level commissionsWin Rate (WON:SUM / CLOSED:SUM), margin percentages, group percentage shares using PARENTGROUPVAL

Visualizations: Adding Charts to Reports

Adding a visual chart brings immediate clarity to complex tabular datasets, allowing stakeholders to grasp operational trends at a glance.

Chart Prerequisites

To display the Add Chart button in the Lightning Report Builder, the report must contain at least one row grouping (Summary format, Matrix format, or Joined format). A Tabular report cannot display a chart directly because it lacks categorical groups to define axes.

Core Chart Types and Their Analytical Applications

  1. Bar Chart: Displays horizontal bars. Ideal for comparing values across distinct individuals or categories with long text labels (e.g., Sales Leaderboard comparing revenue by Opportunity Owner).
  2. Column Chart: Displays vertical columns. Best for comparing values across categories over time or discrete numerical ranges (e.g., Closed deals grouped by Fiscal Quarter).
  3. Stacked Bar / Column Chart: Displays proportions within categories, showing both the total metric and the relative contribution of sub-categories (e.g., Staged pipeline stacked by Opportunity Type).
  4. Line Chart: Connects sequential data points with a continuous line. Ideal for tracking trends over time intervals, such as monthly revenue growth or daily case intake.
  5. Donut Chart: Displays data as slices of a hollow circle. Ideal for illustrating proportional shares of a single complete whole (e.g., Distribution of leads by Lead Source, showing percent of total).
  6. Funnel Chart: Displays a tapering funnel format. Specifically designed for sequential, stage-based operational workflows to highlight drop-off rates between stages (e.g., Sales Pipeline conversion progression from Prospecting to Closed Won).
  7. Scatter Chart: Plots individual points along two numerical axes. Used to identify correlations or outliers between two distinct numerical measures (e.g., Opportunity Amount plotted against Days to Close).

Chart Formatting Options

Authors configure chart visual settings via the Chart Properties gear menu: customizing chart titles, toggling data labels, showing percentages, setting minimum/maximum axis boundaries, and adding a horizontal Reference Line (e.g., displaying a corporate quota line at $100,000 to highlight reps exceeding expectations).

Loading diagram...
Salesforce Report Filtering, Grouping, and Visualization Pipeline
Test Your Knowledge

A customer success manager wants to identify client Accounts that currently have zero logged customer support Cases, so the team can conduct proactive check-in calls. Which reporting feature should the author configure?

A
B
C
D
Test Your Knowledge

An author configures three field filters on an Opportunity report: 1: Billing State equals CA, 2: Billing State equals NY, and 3: Amount greater than 50000. If the default filter logic is left unchanged, what results will the report return?

A
B
C
D
Test Your Knowledge

Which statement correctly distinguishes a Row-Level Formula from a Summary Formula in the Lightning Report Builder?

A
B
C
D