You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eud-for-bi-dashboards/dashboard-for-desktop/dashboard-designer/ui-elements/filter-editor/examples-of-using-the-filter-editor.md
+26-31Lines changed: 26 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,58 +12,53 @@ The following sections demonstrate how to construct filter criteria using the Fi
12
12
Basically, filter conditions specify what data to select from a data source and display in a data-bound control. A typical simple filter condition consists of three parts: the column/field name, operator and a value(s). For instance, '[Discount]>= 0.05' is a simple filter condition, where '[Discount]' is a field name, '>=' is an operator and '0.05' is a value. This condition when applied to a data-aware control will display records that have values in the Discount column greater than or equal to 0.05. Here is how to create this condition via the Filter Editor (it's assumed that the underlying data source contains the Discount column, otherwise, this column will not be accessible in the Filter Editor's column list):
13
13
1.**Invoke the Filter Editor.**
14
14
15
-
To invoke the Filter Editor in a grid control, right-click any grid column's header and select the Filter Editor option.
15
+
To invoke the Filter Editor in a grid item, right-click any grid columnand select the Edit Filter option.
To learn how to invoke the Filter Editor for other controls, see corresponding sections in this documentation.
17
+

20
18
21
19
2.**Select a column**.
22
20
23
21
To filter against the Discount column, click the column name field. This will display the list of available columns. Select the Discount column in this list:
The comparison operator list displays only those operators that are supported by the current column's data type. For instance, the Discount column is of the numeric type, and the operator list doesn't display the 'Begins with' operator and other operators that are related to strings.
33
31
4.**Enter a value**.
34
32
35
33
Now, click the value box and enter a comparison value ('0.05'):

43
41
44
42
The filter panel will contain the 'Edit Filter' button, which also allows you to invoke the Filter Editor.
45
43
46
44
## How to Construct Filter Criteria with Multiple Conditions Joined by One Logical Operator
47
45
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 consist of multiple conditions combined by one logical operator. The "[ProductName] = 'Tofu' AND [Discount]>= 0.1 AND [Quantity] > 99" filter expression contains three simple filter conditions combined by the AND operator. To construct it, do the following:
48
-
1. Invoke the Filter Editor. When the Filter Editor is invoked for a grid control, the Filter Editor may display an unfinished new filter condition:
46
+
1. Invoke the Filter Editor. The Filter Editor may display an unfinished new filter condition:
3. To add one more condition, press the  button next to the group's AND operator. This will create a new condition under the current one:

52
+
3. To add one more condition, press the  button next to the group's AND operator. This will create a new condition under the current one:
59
53
54
+

60
55
61
56
4. For the second condition, set the column to 'Unit Price', operator to '>=' and operand value to '100':
5. To add a third condition to the same group, click the  button again. Set the condition's column to 'Units in Stock', operator to '>' and operand value to '50'. Below is the result:
58
+

59
+
5. To add a third condition to the same group, click the  button again. Set the condition's column to 'Units in Stock', operator to '>' and operand value to '50'. Below is the result:
10. Click the  button to add a new condition to the new group. For the new condition, set the column to 'Quantity', operator to '>' and operand value to '10':
96
+

97
+
10. Click the  button to add a new condition to the new group. For the new condition, set the column to 'Quantity', operator to '>' and operand value to '10':
Copy file name to clipboardExpand all lines: eud-for-bi-dashboards/dashboard-for-desktop/dashboard-designer/ui-elements/filter-editor/filter-data-via-the-filter-editor.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,28 +7,28 @@ legacyId: 4659
7
7
## Filter Editor
8
8
The **Filter Editor** is used to edit filter criteria. To create and customize filter criteria, use the  and  buttons embedded into the control and context menus supported by the editor's elements:
A filter condition **group** is a set of conditions combined by the same logical operator. The following filter expression contains two groups combined by the logical OR operator: "([Product] = 'Chang' And [Quantity]> 20) Or ([Product] In ('Tofu', 'Konbu') And [Quantity]< 100)". In the Filter Editor it's represented as follows:

17
17
18
18
For step-by-step examples of creating filter criteria, see [Examples of Using the Filter Editor](examples-of-using-the-filter-editor.md).
19
19
20
20
## Add Conditions
21
21
To add a condition to a logical group, do one of the following:
22
22
* Focus any condition within the group or the group's logical operator and then press INSERT or ADD on the keyboard.
23
-
* Click the  button for the group.
23
+
* Click the  button for the group.
24
24
* Click the group's logical operator and select **Add Condition**.
25
25
26
26
To add a condition or a group of conditions that have been copied to the clipboard, press CTRL+V or SHIFT+INSERT. The new condition will be added to the focused group.
27
27
28
28
## Delete Conditions
29
29
To delete a condition, do one of the following:
30
30
* Focus the condition and press DELETE or SUBTRACT.
31
-
* Click the  button.
31
+
* Click the  button.
32
32
33
33
To delete a group of conditions, do one of the following:
34
34
* Focus the group's logical operator and press DELETE or SUBTRACT
0 commit comments