Filtering in QPR ProcessAnalyzer: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
'''Filters''' define a subset of cases and events in the process analysis model. This subset of data is used for all analysis. A filter consist of a list of '''filter rules''', which are applied in the defined order. Cases/events are excluded if there is a single filter rule, that excludes the cases/events (AND type of logic, instead of OR logic).
'''Filters''' define a subset of cases and events in the model. This subset of data can be used in the analysis for a specific need. A filter contains one or several '''filter rules''', which are applied in the defined order. 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 [[Process_Mining_Concepts|concepts section]].


== Saving filters ==
== Saving Filters ==
You can save your filter selection by hovering your mouse over the filter dropdown menu (without clicking) and choosing "Save new filter" from below.
You can save your filter selection by hovering your mouse over the filter dropdown menu (without clicking) and choosing "Save new filter" from below.


Line 30: Line 30:
[[File:Filteractions.png|500px]]
[[File:Filteractions.png|500px]]


== Filter Rule Types ==
== Filter Rule ==
Following filter rule types are available:
For example, the following filter rules are available:
* '''Include/exclude cases based on case attribute values''': For example, include only those cases where case attribute "Account Manager" is "Patricia White" or "Mary Wilson".
* '''Include/exclude cases based on case attribute values''': For example, include only those cases where case attribute "Account Manager" is "Patricia White" or "Mary Wilson".
* '''Include/exclude cases having certain event type(s)''': For example, include cases that have event types "Invoice Created" or "Invoice Paid" (either or both).
* '''Include/exclude cases having certain event type(s)''': For example, include cases that have event types "Invoice Created" or "Invoice Paid" (either or both).
Line 41: Line 41:
* '''Include/exclude cases having certain part of variation''': For example, include cases where variation starts with "Sales Order sent" -> "Invoice Created" -> "Invoice Paid".
* '''Include/exclude cases having certain part of variation''': For example, include cases where variation starts with "Sales Order sent" -> "Invoice Created" -> "Invoice Paid".
* '''Include/exclude event types''': For example, include event types "Sales Order sent", "Invoice Created" and "Invoice Paid".
* '''Include/exclude event types''': For example, include event types "Sales Order sent", "Invoice Created" and "Invoice Paid".
There are two kinds of filter rules: case filter rules and event type filter rule. Case filter rules filter out cases, and the number of cases decreases. The event type filters filter out events, so the number of cases doesn't decrease but the process flow in individual cases may change as event types are left out. Note that event type filter rules may filter out all events of a case, which results in cases that don't have events at all. It's not possible to show those cases in flowcharts or calculated durations for them.
A case has a '''Flow''' between events A and B means that the case has both events A and B and there are no other events between them. A case may have the same flow multiple times. '''Flow duration''' is the event B timestamp minus A timestamp. Note also that flows always has a direction: flow from A to B is different than flow from B to A.
'''Variation''' means a sequence of events that a case goes through. A case always belongs to a certain variation. If another case has different events or they are in different order, the case belongs to a different variation. Duration between events doesn't matter in terms of which variation a case belongs.


[[Category: QPR ProcessAnalyzer]]
[[Category: QPR ProcessAnalyzer]]

Revision as of 23:58, 26 June 2021

Filters define a subset of cases and events in the model. This subset of data can be used in the analysis for a specific need. A filter contains one or several filter rules, which are applied in the defined order. 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 your filter selection by hovering your mouse over the filter dropdown menu (without clicking) and choosing "Save new filter" from below.

Savingfilters.png


This will propmt a pop-up window where you can name your filter and confirm your selection by clicking "Save". You can also define whether to set the filter to be published only to you (Private), everybody (Public), or if the filter is the default filter for the model (Default Public).

File:Filterprivacymode.png

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 at least the Analyzer user rights can modify and delete the saved filters of a model. You can do this by opening the Filters list, hovering your mouse over a saved filter and clicking on the three dots that appear on the right edge.

File:Filteroptions.png

When you go to the "Actions" tab you have the following options:

  • Delete: Delete this filter permanently.
  • Duplicate: Create a copy of this filter.
  • Replace: Replace this filter's rules with the selected rules in the header.
  • Export: Export this filter's rules to a file.
  • Import: Replace this filter's rules by importing new rules from a file.

File:Filteractions.png

Filter Rule

For example, the following filter rules are available:

  • Include/exclude cases based on case attribute values: For example, include only those cases where case attribute "Account Manager" is "Patricia White" or "Mary Wilson".
  • Include/exclude cases having certain event type(s): For example, include cases that have event types "Invoice Created" or "Invoice Paid" (either or both).
  • Include/exclude cases having certain flow(s): For example, include cases that have a flow from "Outbound Delivery" to "Handling unit". To match, there must not be other events between those two events.
  • Include/exclude cases based on case duration: For example, include cases the case duration is over 50 days. Case duration is the last event timestamp minus the first event timestamp.
  • Include/exclude cases based on flow duration: For example, include cases the flow from "Sales Order" to "Outbound Delivery" is over 5 weeks.
  • Include/exclude cases belonging to certain variation(s) (sequence of events): For example, include cases belonging to variation "Sales Order sent" -> "Invoice Created" -> "Invoice Paid".
  • Include/exclude cases having certain event attribute value(s): For example, include cases having event(s) with event attribute "Organization" is "Finance".
  • Include/exclude cases having certain part of variation: For example, include cases where variation starts with "Sales Order sent" -> "Invoice Created" -> "Invoice Paid".
  • Include/exclude event types: For example, include event types "Sales Order sent", "Invoice Created" and "Invoice Paid".