Skip to content

ps4PBI Data Model

The data model, created by the event log transformer or the ssis-package, consists of the EventLog including the event based information, the Cases data which includes case-based information, the TargetProcess table defining the refernce models of your processes and the filter tables FilterAnd and FilterOr.

Data Model

Event Log

The EventLog contains the event based information for each process step and the pre calculated process transitions.

Folder NameField NameData TypeDescription
General Columnscase_idTextThe case id. Can be used to show frequencies on activities and edges within the Process Analyzer.
General ColumnsactivityTextThe activity name for the event. To start analyzing your processes you need to drag this field in the 'Event (From)' bucket of the Process Analyzer.
General Columnsactivity_toTextThe activity name for the following event. To start analyzing your processes you need to drag this field in the 'Event (To)' bucket of the Process Analyzer.
General ColumnsvariantsMeasureTo start analyzing your processes you need to drag this field in the 'Variants' bucket of the Process Analyzer.
Event Valuesactivity_costFixed decimal numberThe cost of an activity, can be used in the activity fields of the Process Analyzer.
Event Valuesactivity_durationDecimal numberThe duration of an activity, can be used in the activity fields of the Process Analyzer.
Event ValuesautomatedDecimal numberFlag if the activity was automated or not.
Event Valuesduration_at_startDecimal numberThe duration at the start of this event from the beginning of this case.
Event Valuesevent_numberWhole numberThe position the event occurs in the variant. Is used in the Events Filter and the Variants / Case Analyzer.
Event Valuesis_reworkDecimal numberFlag if this activity occurs at least a second time (=1) and is a rework or not (=0).
Edge ValuesdurationDecimal numberThe duration between two activities, can be used as an edge value in the Process Analyzer.
Edge Valuesduration_idleDecimal numberThe duration between two activities, excluding the activity duration. Can be used as a edge value in the Process Analyzer.
Edge Valuesis_loopDecimal numberIndicates if the following activity occurs at least a second time and this transitions completes the loop (=1) or not (=0).
Edge Valuesis_loop_or_self_loopDecimal numberFlag if this is a loop/selfloop (=1) or not (=0).
Edge Valuesis_self_loopDecimal numberFlag if this is a selfloop (=1) or not (=0), meaning activity from equals the activity to.
Additional ValuestimestampDate/TimeThe start timestamp of the current activity.
Additional Valuestimestamp_toDate/TimeThe end timestamp of the current activity.
Additional MeasuresØ StepsMeasureThe average step count per case id.
Additional MeasuresLast RefreshedMeasureThe timestamp of the last data refresh.

Cases Data

The Cases contains the cases based information for each process instance.

Folder NameField NameData TypeDescription
Case Dimensionsautomation_rateDecimal numberThe total automation rate of this case, is calculated using the automation field you provided for each activity while transforming the data.
Case Dimensionscase_idTextThe case id.
Case Dimensionscost_totalTextThe total cost of this case, is calculated as the sum of cost field you provided for each activity while transforming the data.
Case Dimensionscount_activitiesWhole numberThe count of (distinct) activities per case, this may be lower than the count of events.
Case Dimensionscount_eventsWhole numberThe count of events per case, same activities will be counted more than once.
Case Dimensionscount_loopsWhole numberThe count of process loops per case, this does not includes the self loops.
Case Dimensionscount_self_loopsWhole numberThe count of the self loops per case.
Case Dimensionshas_loops_or_self_loopsWhole numberFlag if the case has loops (=1) or does not has loops (=0).
Case Dimensionsduration_daysDecimal numberThe total duration of this case calculated in days.
Case Dimensionsduration_secondsWhole numberThe total duration of this case calculated in seconds.
Case Dimensionsstart_timeDate/TimeThe timestamp of this case at the beginning of the execution.
Case Dimensionsend_timeDate/TimeThe timestamp of this case at the end of the execution.
Case Dimensionsstart_date_monthDateThe month and year part of the start timestamp of this case.
Case Dimensionsend_date_monthDateThe month and year part of the end timestamp of this case.
Case Dimensionsfirst_activityTextThe name of the first activity of this process instance.
Case Dimensionslast_activityTextThe name of the last activity of this process instance.
Case Dimensionspath_idWhole numberThe variant/path id of this case.
Case DimensionsreworkTextTransformed flag of the has_loops_or_self_loops field if this process instance has reworks (yes/no).
Case Dimensionstarget_process_idWhole NumberThe target process id. Provide different target process ids if you want to create different target processes for different departments.
Case Dimensionsunique_variantWhole NumberFlag if this case has a unique variant (=1) or or not (=0).
Case Dimensionsunique_variant_textTextFlag in text form if this case has a unique variant (=yes) or or not (=no).
Case Groups & Binsautomation_rate (bins)TextThe bins created for the total automation rate of each process instance. There will always be ten groups with ten percentage steps. Use this to create easier to read charts with grouped automation rates.
Case Groups & Binscost_total (bins)Fixed decimal numberThe bins created for the total cost of each process instance. Use this to create easier to read charts with grouped cost values.
Case Groups & Binscount_activities (bins)Decimal numberThe bins created for the count of activities of each process instance. Use this to create easier to read charts with grouped count of activities values.
Case Groups & Binscount_events (bins)Whole numberThe bins created for the count of events of each process instance. Use this to create easier to read charts with grouped count of events values.
Case Groups & Binsduration_days (bins)Decimal numberThe bins created for the duration in days of each process instance. Use this to create easier to read charts with grouped duration in days.
Case Groups & Binsfirst_activity (groups)TextThe groups created for the first activity of each process instance. Use this to create easier to read charts with grouped first activities.
Case Groups & Binslast_activity (groups)TextThe groups created for the last activity of each process instance. Use this to create easier to read charts with grouped last activities.
Case Measures# Total CasesMeasureThe total cases, filters are ignored. Can be used in gauge diagrams to show the maximum value.
Case Measures# Total EventsMeasureThe total event count, filters are ignored. Can be used in gauge diagrams to show the maximum value.
Case Measures# Total VariantsMeasureThe total process variants count, filters are ignored. Can be used in gauge diagrams to show the maximum value.
Case MeasuresAverage Automation RateMeasureThe average automation rate calculated over all cases.
Case MeasuresPercentage Has Loops or Self LoopMeasurePercentage of cases with loops or selfloops.
DrillthroughDrillthroughTextUse this field to create drillthrough filters.

Target Process

The TargetProcess contains the target process you provided to validate your target process with the actuall process. If you do not provide a target process the top process variants will be automatically used as the target processes.

Field NameData TypeDescription
target_processTextThe process path defined as one target process. You can combine multiple process paths for one process id if you add '&&' between the paths.
target_process_idWhole numberThe target process id. Provide different target process ids if you want to create different target processes for different departments.
targetProcessesMeasureThe measure to combine all target processes currently selected. Is used in the Process Analyzer.

Filter Tables

In addition to the tables mentioned above two filter tables FilterAnd and FilterOr are part of the data model. These tables are mandatory for the use of the ps4PBI visuals and are not to be removed.

ps4PBI Data Model (Grouped)

If you are working with grouped activities your data model will also have the following additional tables and columns. The data model, created by the event log transformer or the ssis-package, consists of the EventLogGrouped including the event based information, the ActivityGroupMap table defining the mapping from detailed activities to grouped activities and the filter tables FilterAndGrouped and FilterOrGrouped.

We are providing an additional report if you want to work with activity groups. Both for the Event Log Transformer and the SSIS package.

Data Model Grouped

Event Log

The EventLog contains the event based information for each process step and the pre calculated process transitions.

Folder NameField NameData TypeDescription
General Columnsactivity_groupedTextThe activity name of the group for the event.

Event Log Grouped

The EventLogGrouped contains the event based information for each process step and the pre calculated process transitions.

Folder NameField NameData TypeDescription
General Columnscase_idTextThe case id. Can be used to show frequencies on activities and edges within the Process Analyzer.
General ColumnsactivityTextThe activity name for the event. To start analyzing your processes you need to drag this field in the 'Event (From)' bucket of the Process Analyzer.
General Columnsactivity_toTextThe activity name for the following event. To start analyzing your processes you need to drag this field in the 'Event (To)' bucket of the Process Analyzer.
General ColumnsvariantsGroupedMeasureTo start analyzing your processes you need to drag this field in the 'Variants' bucket of the Process Analyzer.
Event Valuesactivity_costFixed decimal numberThe cost of an activity, can be used in the activity fields of the Process Analyzer.
Event Valuesactivity_durationDecimal numberThe duration from start of the first detailed activity to the end timestamp of the last detailed activity of this group. Can be used in the activity fields of the Process Analyzer.
Event Valuesworking_durationDecimal numberThe sum of the activity duration of all activities of this group. Times between detailed activities will be left out. Can be used in the activity fields of the Process Analyzer.
Event Valuesduration_at_startDecimal numberThe duration at the start of this event from the beginning of this case.
Event Valuesevent_numberWhole numberThe position the event occurs in the variant. Is used in the Events Filter and the Variants / Case Analyzer.
Event Valuesactivity_listTextThe list of all activities the grouped activity consists of.
Edge ValuesdurationDecimal numberThe duration between two activities, can be used as an edge value in the Process Analyzer.
Edge Valuesduration_idleDecimal numberThe duration between two activities, excluding the activity duration. Can be used as a edge value in the Process Analyzer.
Additional ValuestimestampDate/TimeThe start timestamp of the current activity.
Additional Valuestimestamp_toDate/TimeThe end timestamp of the current activity.

Cases Data

The Cases contains the cases based information for each process instance.

Folder NameField NameData TypeDescription
Case Dimensions Groupedcount_activities_groupedWhole numberThe count of (distinct) grouped activities per case, this may be lower than the count of events.
Case Dimensions Groupedcount_events_groupedWhole numberThe count of grouped events per case, same activities will be counted more than once.
Case Dimensions Groupedfirst_activity_groupedTextThe name of the first activity grouped of this process instance.
Case Dimensions Groupedlast_activity_groupedTextThe name of the last activity grouped of this process instance.
Case Dimensions Groupedpath_id_groupedWhole numberThe grouped variant/path id of this case.
Case Dimensions Groupedunique_variant_groupedWhole NumberFlag if this case has a unique grouped variant (=1) or or not (=0).
Case Dimensions Groupedunique_variant_text_groupedTextFlag in text form if this case has a unique grouped variant (=yes) or or not (=no).
Case Groups & Binscount_activities_grouped (bins)Decimal numberThe bins created for the count of grouped activities of each process instance. Use this to create easier to read charts with grouped count of activities values.
Case Groups & Binscount_events_grouped (bins)Whole numberThe bins created for the count of grouped events of each process instance. Use this to create easier to read charts with grouped count of events values.
Case Measures# Total CasesMeasureThe total cases, filters are ignored. Can be used in gauge diagrams to show the maximum value.
Case Measures# Total EventsMeasureThe total event count, filters are ignored. Can be used in gauge diagrams to show the maximum value.
Case Measures# Total Variants GroupedMeasureThe total grouped process variants count, filters are ignored. Can be used in gauge diagrams to show the maximum value.

Activity Group Map

The ActivityGroupMap defines the mapping from one grouped activity to the list of the detailed activities.

Field NameData TypeDescription
activity_groupedTextThe name of the grouped activity.
activity_listTextThe list of all detailed activities this group consist of.

Filter Tables

In addition to the tables mentioned above two filter tables FilterAndGrouped and FilterOrGrouped are part of the data model. These tables are mandatory for the use of the ps4PBI visuals and are not to be removed.