Like what you see? Have a play with our trial version.

Overview

  1. AND/OR Logic - define the logic used between each filter condition.
  2. Bracket Arrows - the addition of brackets around sets of filters allows for more complex logic, used in conjunction with AND/OR logic settings.
  3. Filter Fields - the fields added to the Filters list in order to restrict the report results.
  4. Operator Selection - select the operator to be used in the filter, specifying how values will need to match, or differ from the condition defined.
  5. Value Selection - either define a value for the filter condition, or set it as User Prompt for the report reader to define.
  6. Filter Logic - displays a summary of the filters.
  7. Add Filters - allows the user to add more fields to the filters list without closing the configuration panel.

Logic

You can combine conditions to increase control over the data a report contains. Combining conditions lets you retrieve data that, for example, contains the people Smith or Johnson, or concerns female clients. Whenever you have more than one condition in a report, Yellowfin automatically combines them with an And. All you have to do to combine conditions is add them to your filter list.

Between each filter there is an AND / OR drop down option the user can define. This allows the user to define how the combination of multiple filters should work together to return results.

And / Or

Logical operators let you specify how you want conditions combined. Yellowfin filters allow two types of logical operators:

  1. The AND logical operator combines two conditions into a narrower condition. A data item must meet the first condition and the second condition to meet the condition's requirements.
  2. The OR logical operator combines two conditions into a broader condition. A data item can meet the first condition or the second condition to meet the condition's requirements. For example return clients where their last name = Smith or their Gender = Female.

To adjust the logic, simply select And or Or from the drop down list between the pair of filters.

Brackets

If you've combined at least three conditions in your query, you can bracket certain conditions to bind them together. You use this the same way you might use parentheses to change the value a in the following arithmetic equations:

a = 36 * (6 +12) as opposed to a = (36 * 6) + 12

For example, you want information about the Events or People in the system on a particular day.

  1. To create a bracket, select the line that you wish to bracket and click the bracket icons (initially the right pointing arrow). This will indent the line and create the bracket condition. To view the result of the bracket read the statement in the filter logic section below the filter attributes table.
  2. To change the level of the bracket you can use the move up and move down links to change the order of your filter attributes in the statement.

Example

If you want to return all the records you have that have and Active Booking Status AND have either a Booking Method of Web Site OR Media Category of WebView the following would be defined:

Brackets have been placed around the Booking Method and Media Category filters to enclose the OR.

Operator

The operator defines how values will be matched to the filter. For example, In List will return results as long as a value matches one of the ones in the list. The options within the drop down will vary based upon the type of field that the filter is to be applied to.

See Filter Operators for more information.

Value

There are different options available when it comes to filter values. As a report writer you can choose to set:

  1. User Prompt which allows the report reader to define the filter value to match when they run the report.
  2. Defined Value which sets the value during the report creation process so the report is always restricted to the same result subset.
  3. Pre-Defined Period which uses a date range on the report, which is always the same calculation, but dynamic by being relative to the report run date. This option is only available for date or timestamp fields.

See Filter Values for more information.