Reporter > Filtering results > Advanced filter conditions > Editing a filter using the filter syntax pane
 
Editing a filter using the filter syntax pane
In the Filter pane, the filter information appears in graphical format. You may have noticed that as you create a filter in this pane, the full filter expression is displayed in the Filter Syntax pane at the bottom of the screen. For example, if you create a filter to exclude respondents in the 11-16 year age group, this syntax appears in the Filter Syntax pane:
Not age.ContainsAny({E1116_years})
This is useful, for example, when you want to copy and paste the expression for use in a script or some other application. You can also edit the expression directly once you become familiar with the syntax. You can even use this pane to create a new filter from scratch.
Displaying the filter syntax pane
From the menu, choose View > Filter Syntax.
The pane appears at the bottom of the screen. You can resize it and move it around the UNICOM Intelligence Reporter window as required.
Editing the filter expression
1 Click in the Filter Syntax pane, and then type the expression for the filter, or edit the existing expression. You can use any expression that is supported by the UNICOM Intelligence Data Model, including the functions in the UNICOM Intelligence Function Library.
2 To validate and apply the filter syntax, click Apply. If the expression is valid, the Filter pane shows the filter conditions. If it is not valid, an error is displayed.
3 If you make a mistake while editing the syntax, choose Cancel to return to the previously applied syntax.
See the Function list for details of the functions available. For more information on syntax, see Expressions and UNICOM Intelligence Function Library.
See also
Advanced filter conditions