Creator Help

Set Filters

Auto Filters

Filters are a set of named criteria that allows you to select only specific entries in a report. Zoho Creator creates default filters for the fields belonging to any of the following types. These filters are called "Auto filters".

  • Dropdown fields
  • Multi Select fields
  • Lookup fields
  • Date and Time fields

If your form contains any of the above field types, the corresponding field names will be displayed in the GUI as shown below, when you select the Set Filters option for a report in Edit mode. For example, in the Employee details form, the field Department is a single-select picklist field. Hence, it is displayed as a default filter. You can enable/disable the auto filters using the show/Hide button. By default, it is disabled.

When you access the report, the filters will be displayed in the Filter list-box as shown below. The name of the field will be taken as the name of the filter. The values for the fields will get displayed in the Filters drop down list. Selecting a filter name, will display only those records that satisfy the filter criteria. For example, if the Department is selected as "Accounts", only those employees in the Accounts department will be listed.

Note:

  • To sort the option in the filter list of a drop-down/lookup fields, set the option "Show choices in alphabetical order". The values will be displayed in alphabetical order in the filter list.
  • Sorting a filter list for a date-time field is not yet supported.
  • Date-Time filter list is sorted based on added time in ascending order and limits to 50 values.

Custom Filters

Custom filters are a set of named criteria that can be defined by the user. To create a custom filter,

  1. Select the Reports from the Reports tab, in Edit mode.
  2. Go to Reports Settings -> Filters -> New Custom filter option in the Set Filters dialog.
  3. Specify the custom filter name and the condition based on which the records will be filtered.
  4. If you have specified more than one condition and the filter needs to match all the conditions, use the AND operator.
  5. If you have specified more than one condition and the filter needs to match any one condition, use the OR operator.
  6. In live mode, the custom filters will be listed under your view name, as shown in the screen shot below. Just click on the view name to select the required custom filter.
    The custom filters configured in the GUI will be added to the report definition. To view the definition, select Report Settings -> Definition.

Example - Custom Filters

Lets say we need to fetch records of last few weeks from a Zoho Creator Report. For example, records from last 6 to 12 weeks. This can be achieved by adding a custom filter based on the subWeek() function. To add the filter,

  1. Select the Report from the Reports tab, in Edit mode.
  2. Go to Reports Settings -> Filters -> New Custom filter option in the Set Filters dialog and configure the custom filter as show in the image below:

The configured custom filter fetches and displays records from the last 6 to 12 weeks.

Top