Search
Search Oden Support Help and Support.

Reports - Filter

A filter expression is a way to limit the records that are included in a report by specifying criteria.
The
Filter
section of
Reports
contains the following fields:
  1. Select the Fields from the list of all of the fields available to use in the filter. This selection appends it to the
    Field Name
    below.
  2. The Field Name is populated when you select the items above.
  3. Select the appropriate Operator from the drop-down list. Operators are typically used to compare the values of a field to some fixed specified value. Some operators in the list require special instructions:
    Operator
    Description
    =
    equal to
    <>
    not equal
    >
    greater than
    >=
    greater than or equal to
    <
    less than
    <=
    less than or equal to
    IN
    Determines if a given value matches any value of a subquery or a list.
    NOT IN
    The given value does not match any value of a subquery or a list.
    LIKE
    Determines whether or not a given character string matches a specified pattern.
    NOT LIKE
    A given character string does not match a specified pattern.
    The "LIKE" operator is similar to the equals operator except that it allows the right hand value to contain the wildcard "%". For example, the filter text:
    PolicyApplicableState LIKE "O%"
    matches policies whose applicable law state is OH, OK or OR.
    The "IN" operator allows one to specify a list of comma separated values enclosed in parenthesis. For example, the filter text:
    PolicyApplicableState IN ("OH","OK","OR")
    matches policies whose applicable law state is OH, OK or OR.
    The "NOT IN" operator allows one to specify a list of comma separated values enclosed in parenthesis that should specifically be excluded, For example, the filter text:
    PolicyApplicableState NOT IN ("OH","OK","OR")
    matches policies whose applicable law state is anything except OH, OK or OR.
  4. Select the
    Value
    that applies. The values are user supplied criteria and in some cases the system provides a list of values for you to select.
  5. Select the appropriate Logical operator for your criteria. The Logical provides the simple Boolean operators AND and OR. If nothing is in the filter expression the only valid button is
    Add
    . See Details below:
    Operator
    Details
    AND
    Adds another field name to the filter expression to be considered. The system will poll the database for records that match both criteria.
    OR
    Adds another field name to the filter expression to be considered. The system will poll the database for records that match either criteria.
    (...) AND
    Adds a string(See AND)
    (...) OR
    Adds a string(See OR)
    ADD
    Adds the first field to the filter expression.
    note
    The (...)AND or (...)OR buttons when selected will apply parenthesis around the entire existing filter expression and append the new criteria to the end of the expression.
  6. The
    Filter Expression
    displays the actual SQL where clause.
  7. Select
    Clear
    to remove the entire filter expression.
  8. Select
    Validate
    to verify the syntatical correctness of the filter expression.
  9. Go to Sorting for the next step of reports.