Filtering in QPR ProcessAnalyzer: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
* '''Export''': Export the rules of this filter to a file (in JSON format).
* '''Export''': Export the rules of this filter to a file (in JSON format).
* '''Import''': Replace the rules of this filter with rules imported from a file (in JSON format).
* '''Import''': Replace the rules of this filter with rules imported from a file (in JSON format).
[[File:Filteractions.png|500px]]


== Filter rule types ==
== Filter rule types ==

Revision as of 11:12, 30 May 2022

Filters define a subset of cases and events in the model, e.g., certain region or time period. Filter consists of a list of filter rules, that are criteria defining which cases/events are included and which are excluded from the resulting dataset. Filters are very powerful feature in QPR ProcessAnalyzer, because any filter can be applied to any analysis and chart.

Filter consists of one or several filter rules, which are applied in the defined order. The order matter in some rules, because the rule is evaluated to an eventlog that is the result of the previous rule evalution. For example, if excluding event types, the number of events in a case changes, and thus subsequent filter rules may give different results. Cases/events are excluded if there is a single filter rule, that excludes the cases/events (thus there is an AND type of logic between the filter rules). Filtering functionality is described in more detail in the concepts section.

Saving filters

You can save the filter in the main header by hovering your mouse over the filter dropdown menu (without clicking) and choosing Save as new filter from below. There must be at least one filter rule, to be able to save the filter.

Savingfilters.png

This will prompt a pop-up window where you can name your filter. You can also define whether to set the filter is your private filter (Private) or published to all users (Public). The filter can also be made Default Public making it as the default filter used when the model is opened.

Turning off Filter Rules

It's possible to turn off (disable) individual filter rules in a filter. When a filter rule is turned off, it's not applied, i.e. it doesn't have any effect on the calculation. The turned off filter rule is still preserved as part of the filter, and it's thus easy to turn the filter rule on again. This way, filter rules can be toggled on and off without removing them.

File:Filterruledisableing.png

Filter actions

Users with Analyzer roles for the project can modify and delete the saved filters of models in that project. You can do this by opening the Filters list, hovering your mouse over a filter and clicking on the three dots button. You have the following options available:

  • Properties: Open filter properties dialog, where the filter name, privacy mode and filter rules can be modified.
  • Duplicate: Create a copy of this filter.
  • Delete: Delete this filter permanently.
  • Replace: Replace the rules of this filter with the currently selected rules in the header.
  • Export: Export the rules of this filter to a file (in JSON format).
  • Import: Replace the rules of this filter with rules imported from a file (in JSON format).

Filter rule types

When creating a new filter the following filter rule types are available:

  • Cases by Case Attribute:
  • Cases by Event Attribute:
  • Cases with Specific Events:
  • Cases Flowing Through:
  • First Event in Case:
  • Last Event in Case:
  • Case IDs:
  • Variations:
  • Events by Attribute:
  • Events by Type:

Filter rules can be created for the dashboard (i.e., applied to all charts in the dashboard) by clicking the blue plus button in the header, or to specific charts in the chart settings in the Filter tab. When running the root causes analysis, the root causes criteria is also selected similar to filter rules.