The Filter format tab contains a number of sections that you can use to format your filters.
Each of these sections is described below.
The main formatting options for report filters are displayed below.
Format
Option |
Description |
Filter Display |
Select the location for User Prompt filters to be displayed on the Report page. |
Apply Link Location |
Select the location for the apply button or link to be displayed. This is positioned within the Filter Display (defined above). |
Apply Style |
Use a button to apply selected filter values. |
Filter Width |
Select the length for User Prompt filter values display, allowing you to accommodate longer values. |
Display Filter Values |
Allows you to display a legend of filter values applied to the report. |
Entry 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.
- Custom Query: create a list of values by caching the current contents of the field in the database using a custom SQL query.
|
Sort |
Define the sort order for the list of values as ascending or descending. |
Default Value |
Define the default value(s) to be used for the filter when the report is initially loaded. (Optional). |
If the Value List Setup option is set to Custom Query the following options will become available.
When using a dimension as a filter you will have dimension specific options available in the Display and Entry Style filter menus. These options will allow you to define various settings, such as filter caching, custom descriptions and list length (if using an In List operator). These options may differ from the ones available when using a metric or a date.
Entry 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.
Note: it is recommended that the user prompt option be disabled if your data set has many variables that as it may take some time for the values to be returned. |
CSV Entry |
This option is only available for the Manual User Entry option and allows users to enter values for the filter with the use of a .csv file. |
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 Organisation Reference Codes for more information.
- Cached Values: create a list of values by caching the current contents of the field in the database.
- Custom Query: create a list of values by caching the current contents of the field in the database using a custom SQL query.
|
Sort |
Define the sort order for the list of values as ascending or descending. |
Default Value |
Define the default value(s) to be used for the filter when the report is initially loaded. (Optional). |
If the Value List Setup option is set to Custom Query the following options will become available.
Metric filters options only permit you to change the formatting options and set default values. There is no prompt option for metrics.
Entry 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.
- Slider: allow the user to select values using a numeric slider.
- Range: the user will provide a low and high value.
|
Value List Setup |
Define which method of providing a list of values you will use. There are two options:
- Manual: the user will manually type values for this filter.
- Custom Query: create a list of values by caching the current contents of the field in the database using a custom SQL query.
|
Min |
Define the minimum value the user can select for this filter. |
Interval |
Define the increments the value increases by. |
Max |
Define the maximum value the user can select for this value. |
Colour |
Select the colour for the entry style. |
Default Value |
Define the default value(s) to be used for the filter when the report is initially loaded. (Optional). |
If the Value List Setup option is set to Custom Query the following options will become available.