Range Filter

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search

The Range Filter is used to create, modify, and remove filter rules based on a range of dates or numbers. It provides an intuitive way to narrow down your analysis to a specific timeframe or value range.

The Range Filter component is always synchronized with the dashboard's filter rules. When you change the values in the Range Filter's input boxes, the corresponding filter rules are automatically updated. Conversely, if the filter rules are changed elsewhere (e.g., from the main header), the input boxes in the Range Filter component will update to reflect those changes. If you clear an input box, the associated filter rule is removed. Similarly, if a filter rule is removed, the corresponding input box is cleared.

Filtering by Date Range

When you select a date type attribute in the Filtered Range setting, the component displays two date pickers:

  • Start date: Sets the beginning of the date range. This creates an "is later than or equal" filter rule.
  • End date: Sets the end of the date range. This creates an "is earlier than or equal" filter rule. The filter includes the entire day of the selected end date.

For date-based filtering, a dropdown menu provides quick access to common time periods.

Filtering by Numeric Range

When you select an integer (numeric) type attribute in the Filtered Range setting, the component displays two number input boxes:

  • Value from: Sets the lower bound of the range. This creates a "is greater than or equal" filter rule.
  • Value to: Sets the upper bound of the range. This creates a "is less than or equal" filter rule.

Settings

Range Filter has following setting (divided into tabs):

General Tab

  • Title: Defines a shown title for the Range Filter.
  • Filtered Range: Similar to the dimension selection, selects what kind of filter rules this range filter creates or modifies. The dropdown list shows only items where the only possible data type is Date, Integer, or Float.
  • Analyzed objects: Which objects the query is based on to get the items.
  • Object-centric perspective settings: Similar to the settings in charts. Shown only when an object-centric model is selected.
  • Description: Similar to the setting in charts.

Layout Tab

Advanced Tab

  • 1. Additional Column / 2. Additional Column / etc.: Columns that can be defined as variables which can be used in a custom Filtered Range expression.
  • Link to Dashboard Filter: When unchecked, selecting values from the list creates a filter rule that is visible in the dashboard header. When checked, selecting values from the list creates a hidden filter rule that is not shown in the dashboard header. In the former case, the filter rule is applied to the Filter variable, and in the latter case it's applied to the DashboardFilter variable.
  • Event type mapping: Similar to the setting in charts.
  • Default filtering: Whether the component creates/modifies cases or events filter rules.
  • Chart settings (editable): Similar to the setting in charts.