### Query Filter dialog

This dialog is opened when you select a banded object, table, crosstab, or chart which is based on a business/report cube and click Menu > Report > Query Filter. It helps you to apply a filter to the business/report cube to narrow down data scope. See the dialog.

Query Filter

Specifies the filter you want to apply to the business/report cube.

- User Defined
  Specifies to create a user defined filter to apply to the business/report cube.
- Predefined filters
  The names of the predefined filters which were created on the business/report cube in JReport Designer. You can choose one of them to apply.
  - Edit
    Edits the selected predefined filter. Once a predefined filter is edited, it will be saved as a user defined filter in the business/report cube.
  - Description
    Displays the description of the selected predefined filter.

Add Condition

Adds a new condition line.

Delete

Deletes the selected condition line.

Group

Makes the selected conditions in one group. Conditions can also be added to an existing group by selecting the conditions and the group while holding the Ctrl button, and then clicking the Group button.

Ungroup

Makes the selected condition ungrouped.

Up

Moves the selected condition up to a higher level.

Down

Moves the selected condition or group down to a lower level.

Logic

Lists the logic operator.

- And
  Logic operator And which is applied to this and the next line.
- Or
  Logic operator Or which is applied to this and the next line.
- And Not
  Logic operator And Not which is applied to this and the next line.
- Or Not
  Logic operator Or Not which is applied to this and the next line.

Field

Specifies the field to be filtered.

Operator

Specifies the operator to compose the filter expression.

- =
  Equal to
- >
  Greater than
- >=
  Greater than or equal to
- <
  Less than
- <=
  Less than or equal to
- !=
  Not equal to
- [not] in
  Causes an enumerated list of values to appear in the WHERE clause predicate, used for evaluating for a true condition.
- [not] between
  Allows the system to evaluate whether or not data values are located between a range of values indicated in the predicate. See dialog.
- is [not] null
  It is used in WHERE clause predicates to match null values occurring in a specified data field.
- [not] like
  Like string pattern matching operator is used to compare the first expression string value to the pattern string (the second expression).

Value

Specifies the value of how to filter the field. You can either enter the value manually in the text box or click the button to specify the value in the Select Values dialog.

Condition Expression

Displays the SQL statement of the filter condition.

OK

Applies the settings and closes the dialog.

Cancel

Closes the dialog and discards any changes.

Help

Displays this help document.

###### Related topics:

- Applying filters to business/report cubes