- Created by Adriane Hunt on May 07, 2024
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
The Filter Editor allows you to visually build and edit filters for column data. You can filter data (display only those records that meet specific requirements), by visually constructing filter criteria in a straightforward graphical form. Important! The Filter Editor is used in DataMiner workbooks (Analytics), the Trace window (Production), when using BOM cleaning tools and editing options, and other areas of FactoryLogix containing column data. The instructions in this topic apply to all areas of FactoryLogix where you can edit and filter column data. Column data editing commands (the commands you see when you right-click a column header) are also available in many areas of FactoryLogix, including many dialogs and windows. These commands provide complete control over the look of column data (sorting, grouping, and so on). Note that the Column menu may contain different commands depending on the type of column data you're working with. Filter conditions specify what data to select from a data source to display in a data-bound control. A typical simple filter condition consists of three parts: Use the Add button to add a condition. Use the Delete button to delete a condition. Logical operators display in Red text. Select a logical operator to display a menu of available logical operators: Comparison operators display in Green text. Select an operator to display a menu of available operators: A filter condition group is a set of conditions combined by the same logical operator (And, for example). You select Add Group from the logical operator menu to add a new condition group. To add a condition to a logical group, do one of the following: To add a condition or group of conditions you copied to the Clipboard, press Ctrl+V or Shift+Insert. The new condition is added to the focused group. To delete a condition, do one of the following: To delete a group of conditions, do one of the following: To delete all conditions, do one of the following: To remove a condition/group of conditions to the Clipboard, focus the condition or the group's logical operator, then press Ctrl+X or Shift+Delete. To change a condition's column, do one of the following: Select the required column from the list. To change a condition's operator, do one of the following: Select the required operator from the list. To focus a specific filter condition or a group's operator in the Filter Editor, do one of the following: Filter criteria typically consist of two or more simple filter conditions combined by logical operators (AND, OR, NOT AND, NOT OR). The following example shows how to construct filter criteria in the Filter Editor that consists of multiple conditions combined by a single logical operator (AND). The [Lot Number] starts with L- AND [Batch Quantity] >= 100, Some filter criteria contain multiple logical (Boolean) operators combining simple filter conditions. For example, you want to see only Non-Serialized batches with an Active status and at the same time, you also want to see Non-Serialized batches with a status of On Hold. In this example, you use the AND operator for the first condition and the OR operator in a separate group to set up the second condition. The resulting condition would look like this in the Filter Editor: Note: See the previous table in this topic for details about creating condition groups in the Filter Editor.
For example, [Quantity] >= 10 is a simple filter condition for a Quantity of parts or assemblies, where [Quantity] is a field name, >= is an operator, and 10 is a value. When this condition is applied to a data-aware control, records for parts and assemblies with values in the Quantity column greater than or equal to 10 are displayed; all other records are filtered out and hidden in the DataMiner workbook. This filter condition looks like the following illustration in the Filter Editor:
You can use the Filter Editor dialog and its context menus to create and customize filter criteria for your column data.
The following table describes Filter Editor features.Item Description And [Column Value] Column values display in Blue text inside square brackets. Select a column name to display a menu of available columns. Comparison Operator Operand Operand values display in Black text. Select an operand value to display a text box where you can change the value. Condition group Add a condition
Delete a condition
Use the clipboard
Change a column in a filter condition
Change an operator in a filter condition
Edit the value of a condition
Navigation
Example 1: Filter criteria with a single logical operator
AND [Batch Status] = On Hold. This filter expression contains three simple filter conditions combined by the AND operator.Example 2: Filter criteria with multiple logical operators
- No labels