You are here:
Create a Cross Filter
Use cross filters to include or exclude records in your report results based on related objects and their fields.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
| Available in: Enhanced Folder Sharing |
| User Permissions Needed | |
|---|---|
| To add edit, or delete a cross filter in private reports: |
|
| To add edit, or delete a cross filter in private and public reports: |
|
Watch a video:
How to Use Cross Filters (Lightning
Experience)
To see which accounts have escalated cases, create an accounts report and add a cross filter. Set the cross filter to show accounts with cases. Then, filter cases for status equals escalated.
Cross filters are available in both Lightning Experience and Salesforce Classic. Cross filters that you create in Lightning Experience work in Salesforce Classic, and vice versa.
The steps for creating a cross filter are a little different depending on whether you’re using Lightning Experience or Salesforce Classic. Follow the instructions based on whether you’re using the Lightning Experience or the Salesforce Classic report builder.
- In Lightning Experience, edit or create a report.
-
From the FILTERS tab, click
| Add Cross Filter.
- Choose whether to show your primary object with or without a secondary object. Then, choose the secondary object.
- Click Apply.
-
Optionally, to add a filter to the secondary object, click Add
Secondary Object Filter, where Secondary
Object is the name of the secondary object.
- Choose a field from the secondary object.
- Specify an operator and values for the secondary object filter.
- Click Apply.
- Click Save.
The report filters based on the primary-secondary object relationship and any additional filters on the secondary object.
See Also
Create a Cross Filter in the Salesforce Classic Report Builder
- Edit or create a report.
- From the Filters pane, click Add | Cross Filter.
-
Select a parent object from the dropdown list. Your choice determines which related
objects you see in the child object list.
Tip In report types based on Campaigns, the parent object can be the secondary object in the report type. For example, in a "Campaigns with Leads" report, the parent object can be Campaigns or Leads. - Choose with or without.
- Select a child object from the dropdown or search by its name. The dropdown list contains all eligible child objects of your selected parent object.
-
Optionally, to add filters on the secondary object, add subfilters:
- Click Add Secondary Object Filter, where Secondary Object is the name of the secondary object.
- Select a field. The fields are determined by the child object in the cross filter. For example, if your cross filter is Accounts with Cases, you can use case fields for your subfilter.
- Choose a filter operator.
- Enter a value.
- Click OK.
- Click Save.

