Loading
CRM Analytics
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
          Sample Predicate Expressions for Datasets

          Sample Predicate Expressions for Datasets

          Review the samples to see how to structure a predicate expression.

          The samples are based on the following Opportunity dataset.

          OpportunityExpected_RevOwnerOwnerRoleIDStage_NameIsDeleted
          OppA 2000.00 Bill 20 Prospecting True
          OppB 3000.00 Joe 22 Closed Won False
          OppC 1000.00 可爱的花 36 Closed Won False
          OppD 5000.00 O’Fallon 18 Prospecting True
          OppE   Joe 22 Closed Won True

          Let’s take a look at some examples to understand how to construct a predicate expression.

          Predicate ExpressionDetails
          'OwnerRoleID' == "$User.UserRoleId" Checks column values in the User object.
          'Expected_Rev' > 1000 && 'Expected_Rev' <= 3000  
          'Owner' = "Joe" || 'Owner' = "Bill"  
          ('Expected_Rev' > 4000 || 'Stage Name' == "Closed Won") && 'isDeleted' != "False" Parentheses specify the order of operations.
          'Stage Name' == "Closed Won" && 'Expected_Rev' > 70000  
          'Owner' == "可爱的花" String contains Unicode characters.
          'Owner' == "O\’Fallon" Single quote in a string requires the escape character.
          'Stage Name' == "" Checks for an empty string.
           
          Loading
          Salesforce Help | Article