Loading
Salesforce now sends email only from verified domains. Read More
Analyze Your Data
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Example: Use WITH in Cross Filters

          Example: Use WITH in Cross Filters

          Use cross filters to filter a report by an object's child objects using WITH conditions. For example, filter a report to show just accounts with cases.

          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:
          Enhanced Folder Sharing
          Create and Customize Reports
          To add edit, or delete a cross filter in private and public reports:
          Enhanced Folder Sharing

          Report Builder OR Report Builder (Lightning Experience)

          Let's say a recent campaign in California won you many new customers. You want to ensure that their customer cases get resolved quickly. You can create a report to see which of those accounts currently have cases.

          Find Accounts with Cases in the Lightning Experience Report Builder
          1. Edit or create a report based on the Accounts report type.
          2. Create a filter where Billing State/Province equals CA and click OK.

            Now your report shows all accounts in California. To see Californian accounts with cases, let’s add a cross filter: Accounts with Cases.

          3. Click the more actions icon | Add Cross Filter.
          4. From the Show Me dropdown, select Accounts.
          5. From the Operator dropdown, select with.
          6. From the Secondary Object dropdown, select Cases.
          7. Click Apply.
          8. Click Save.
          Find Accounts with Cases in the Salesforce Classic Report Builder
          1. Edit or create a report based on the Accounts report type.
          2. Create a field filter where Billing State/Province equals CA and click OK.

            Now your report shows all accounts in California. To see Californian accounts with cases, let’s add a cross filter: Accounts with Cases.

          3. From the Filters pane, click Add | Cross Filter.
          4. From the Primary Object dropdown (left of the operator), choose Accounts.
          5. From the operator dropdown, choose with.
          6. From the Secondary Object dropdown (right of the operator), choose Cases.
          7. Click OK.
          8. Click Save.

          When you run the report, the results include only California accounts with associated cases.

           
          Loading
          Salesforce Help | Article