|
Filter Criteria Concepts
You can use filters to create a subset of a group of items for a table configuration, a calculation input in an indicator, a purging rule, or a download configuration for a remote computer. Each filter can be composed of multiple criteria. For each filtering criterion, consider the following:Boolean Logic for Table Configurations and Calculated Indicators
Logical Operators and Filter Groups
When you use more than one filtering criterion, you must establish the relationship between them. APM supports two Boolean operators: AND and OR.
• Criteria 1 is “work orders where the Planner is Jane Smith”.
• Criteria 2 is “work orders created in the last month”.These criteria are based on different attributes (Planner and Creation Date). Therefore, the system uses the AND operator. The result is a list of work orders that were created by Jane Smith.You cannot change the operator used between groups, but you can change it when working with criteria within a group. For example, you may want to see work orders created by both Jane Smith and Jacky Lee:
• Criteria 1 is “work orders where the Planner is Jane Smith”.
• Criteria 2 is “work orders where the Planner is Jacky Lee”.If you use the OR operator between these criteria, you get a list of work orders created by both Jane Smith and Jacky Lee. Usually, criteria for the same attribute use the OR operator.Order of Operations
If you have multiple criteria in one filter group, the order in which you arrange the filtering criteria also affects the results. When there are three or more filtering criteria, APM uses the order of operations rules to determine the order in which to evaluate them. Criteria from the same filter group are evaluated together, with criteria that are connected with the AND operator evaluated before OR operators.Boolean Logic for Purging Rules and Download Configurations
Filter Groups
Each filter group is identified by a number. The first criterion that you create is assigned to filter group “0”. By default, each new criterion is added to the same filter group. You can change the group to which a criterion is assigned by entering another group number in the Logical group box on the Filter Criterion dialog. You can add any criterion to any filter group. For example, you might want to evaluate all criteria based on the same attribute within the same group.Logical Operators
The default choice is AND within a group, OR between groups. Because each group typically contains only criteria for the same attribute, in most situations it is not necessary to change the default operator.For example, the following criteria and the AND within a group, OR between groups setting:
If the logical operator setting is changed to OR within a group, AND between groups and the groups the criteria belong to:
Data Types
•
•Filtering On Compound Data Types
Quantities
Durations
Currency Amounts
Prices
Date and Time