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

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated for 9.5 to include new cached filter settings.

...

General Filter Formatting Settings


Styleclass
ClasstopLink

Filter Formatting#top37061353

The general formatting options for report filters are split three sections — Format, Actions and Filter Refresh. Note that Filter Refresh is only displayed when at least one filter in the list on the left is set to be a cached filter. 

...

The Filter Formatting panel for each type of filter is split into two sections — Display and Entry style. The Display section provides the bounding box settings, such as a label description, and whether the filter is mandatory. The Entry style section includes options to change the appearance of filters and what values they display. This latter section varies the most between filter types, so we've included screen shots of that section for each filter type, below.

Styleclass
ClasstopLink

Filter Formatting#top37061353

Date filter settings

The screen below shows the Entry style options for date filters. See the tables below for descriptions of both the Display section and the Entry style section.

...

Expand
titleEntry Style


Option

Description

Value Entry Method

Define the way the user should provide values for the filter. There are two available options:

  • Manual User Entry allows the user to either type in dates into the entry fields, or use the calendar picker.
  • Value List Selection allows you to cache values or provide a list of pre-defined date ranges for the user to select from.

Allow Prompt

This option is only available for the Manual User Entry option and allows users to prompt the database for a list of values to select from at the time of viewing the report.

Value List Setup

Define which method of providing a list of values you will use. There are three options:

  • Pre-defined Periods: Use a list of pre-defined date ranges for the user to select from. See Date Filter Periods for more information.
  • Cached Values: Create a list of values by caching the current contents of the field in the database (and remember to check the Filter Refresh section of the General Settings to set the cache refreshing options).
  • Cached values On Demand: Create a list of values by loading the contents of the field each time the report is loaded.
  • Custom Query: Create a list of values by caching the current contents of the field in the database using a custom SQL query (and remember to check the Filter Refresh section of the General Settings to set the cache refreshing options).
  • Custom Query Cached On Demand: Create a list of values by caching the current contents of the field using the custom SQL query each time the report is loaded.
List Display Type

Choose if cached values should be displayed in a dropdown or a popup.

Pre-filter by Aggregated Metrics

This setting filters the cached values with the result of any filtered metric fields in the report, provided the metric field filter is not user prompted.

For example, you can use this setting to further filter the unique values of this field to be cached, by adding an age (metric) field with a defined filter of greater than 50. The values cached for this dimension field will only include unique content where the age field is > 50.

Sort

Define the sort order for the list of values as ascending or descending.

Use Min/Max ValuesChoose whether to hide or display the minimum value and the maximum value for this filter.

Default Value

(Optional). Define the default value(s) to be used for the filter when the report is initially loaded.

If the Value List Setup option is set to Custom Query or Custom Query Cached on Demand, the following options will become available. Use this to write a custom SQL query.

Image Modified


Dimension filter settings

When using a dimension as a filter, dimension-specific options are available in the Display and Entry style sections. These options let you define various settings, such as filter caching, custom descriptions and list length (if using an In List operator). Some of these options therefore differ from the ones available when using a metric or a date. See the tables below for descriptions of both the Display section and the Entry style section.


Image RemovedImage Added



Expand
titleDisplay


Option

Description

Description

Define the title of the filter.

Filter Requirement

There are two available options:

  • Allow Omit allows the user to leave this filter blank.
  • Mandatory forces the user to provide a value for this filter in order to run the report.

Filter Hierarchy

Create a hierarchy of filters (eg, filter by region, then by country). To use this option, the parent filter must be set to a selection field (this can be done in the Entry Style section of this dialog box, where Value Entry Method should be set to Value List Selection.

Click on the Specify Parent Filter link to display the Set Parent dialog box, where you can select the parent filter. You can also set two display options:

  • Dependent Values displays only the values related to one parent (eg, only display European countries when the parent filter for region is set to Europe). 
  • Dependent Display hides the current filter from the user until the parent filter value has been selected (eg, display the country filter only when a region has been selected).

Remember User Selection

Remember values applied to this filter for future use.

List Size

Define the number of values displayed in the list before scrolling is required.


...

Expand
titleEntry Style


Option

Description

Value Entry Method

Define the way the user should provide values for the filter. There are two available options:

  • Manual User Entry allows the user to type in values the entry fields.
  • Value List Selection provides a list of pre-defined dimension values for the user to select from.

Allow Prompt

This option is only available for the Manual User Entry option and allows users to prompt the database for a list of values to select from at the time of viewing the report.
Note: we recommend that you disable the user prompt option if your data set has too many variables, as it may take some time for the values to be returned.

CSV Entry

This option is only displayed when Manual User Entry is set as the entry method. It allows users to manually provide a list of comma-separated values for the filter.

Value List Setup

Define which method of providing a list of values you will use. There are three options:

  • Reference Codes: Create a list of values for the user to select from based on the Org Ref Code applied to the filter. See Reference Code Use for more information.
  • Cached Values: Create a list of values by caching the current contents of the field in the database (and remember to check the Filter Refresh section of the General Settings to set the cache refreshing options).
  • Cached Values On Demand: Create a list of values by loading the contents of the field each time the report is loaded.
  • Custom Query: Create a list of values by caching the current contents of the field in the database using a custom SQL query (and remember to check the Filter Refresh section of the General Settings to set the cache refreshing options).
  • Custom Query Cached On Demand: Create a list of values by caching the current contents of the field using the custom SQL query each time the report is loaded.
List Display Type

Choose if cached values should be displayed in a list, checkboxes, or a popup.

Pre-filter by Aggregated Metrics

This setting filters the cached values with the result of any filtered metric fields in the report, provided the metric field filter is not user prompted.

For example, you can use this setting to further filter the unique values of this field to be cached, by adding an age (metric) field with a defined filter of greater than 50. The values cached for this dimension field will only include unique content where the age field is > 50.

Sort

Define the sort order for the list of values as ascending or descending.

Ignore Report Filters when Loading Cached Value

This setting was introduced in Yellowfin 9.5 and is off by default. This setting only appears when cached values are used and for reports based on drag and drop views, and not reports based on view level filters.

When this setting is enabled, other report filters are not applied to the value list. This means that more cached filter value options will be displayed because there is no dependency on any other filters. For example, if a filter for 'fruit' and 'veg' is set to filter out fruit, 'apple' would still be displayed as a filter value even though the resulting data would have those results filtered out.

When this setting is disabled, the cached filter value list is reduced according to the other filter values already selected. For example, if a filter for 'fruit' and 'veg' is set to filter out fruit, 'apple' would not be displayed in the cached filter value list.

For a detailed explanation and example, see our knowledge base article.

Restrict SQL Context to Filter Columns OnlyThis setting was introduced in Yellowfin 9.5 and is off by default. This setting only appears when cached values are used and for reports based on drag and drop views, and not  reports based on view level filters.

When this setting is enabled, the SQL context is restricted to filter columns only, allowing cached filter values to come from a single table, rather than joining to the rest of the view tables, which can lead to more cached filter values being displayed. This is because there is no join logic to restrict the results.

When this setting is disabled, cached filter values rely on join logic to be loaded, and are therefore restricted according to the standard table references for the report.

For a detailed explanation and example, see our knowledge base article.

Sort

Define the sort order for the list of values as ascending or descending.

Use Min/Max ValuesChoose whether to hide or display the minimum value and the maximum value for Use Min/Max ValuesChoose whether to hide or display the minimum value and the maximum value for this filter.

Default Value

Define the default value(s) to be used for the filter when the report is initially loaded. (Optional).

Dynamic Filter Value

Enable this to automatically select the first filter value, when the default value is not available to the user.
A user may not have the default value available to them (for example, as a result of access filter restrictions), in which case the system will select the first value to be used as the filter.
Note: This only applies to dimension values where the filter values are selected from a list of options (i.e. ‘Value List Selection’ is the chosen entry method), such as checkboxes, or dropdowns. 

If a default filter has multiple values, and at least one is available to the user, then dynamic filtering will not be applied.

If the Value List Setup option is set to Custom Query or the following options will become available.

Image Modified


Metric filter settings

...

horizontalrule

Styleclass
ClasstopLink

Filter Formatting#top37061353