Model: Incident Analysis - Specifications for Fact Table: INCIDENT ANALYSIS MEASURES

On this page you will find the specifications regarding the Model: Incident Analysis and Fact Table: INCIDENT ANALYSIS MEASURES.

Attributes

Attribute Description (where applicable)

Measures (table to be generated as far as possible)

Aggregation of measures is based on SUM if not explicitly noted.

This section describes the basic measures in the cube. These are either measures defined in the core Information Source, in the model itself or in the ETL process. The columns have the following meaning:

Measure Calculated Y/N Contains Time Intelligence Y/N Definition/Note (where applicable) Aggregation Type Hidden Y/N Tabular Expression
ATLR Average Time Lost RateAverage time of Days Lost CasesN IF(ISBLANK( IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[ATLR Base] , 'INCIDENT ANALYSIS MEASURES'[ATLR YTD] )), 0, IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[ATLR Base] , 'INCIDENT ANALYSIS MEASURES'[ATLR YTD]) )
ATLR BaseAverage Time Lost Rate Base = Days Lost Base / Count of INCIDENT_CASE_REFERENCE_NO Where AWAY_FROM_WORKYDIVIDE([Days Lost Base], [DAWC Base], BLANK())
Count of IncidentsCount of Incidents where INCIDENT_COUNT=1 NCALCULATE(COUNT('INCIDENT ANALYSIS'[INCIDENT_COUNT]), FILTER('INCIDENT ANALYSIS', 'INCIDENT ANALYSIS'[INCIDENT_COUNT] = 1))
Count of Injured and Illness PersonsCount of COUNT_INJURY_AND_ILLNESS Where INJURY/ILLNESS REFERENCE No= 0 NCALCULATE(COUNT('INCIDENT ANALYSIS'[COUNT_INJURY_AND_ILLNESS]), FILTER('INCIDENT ANALYSIS', 'INCIDENT ANALYSIS'[Injury/ Illness Reference No] = 0))
Count of Injuries and IllnessesCount of COUNT_INJURY_AND_ILLNESS Where INJURY/ILLNESS REFERENCE No= 0 or -1NCALCULATE ( COUNT ( 'INCIDENT ANALYSIS'[COUNT_INJURY_AND_ILLNESS] ), FILTER ( 'INCIDENT ANALYSIS', NOT 'INCIDENT ANALYSIS'[Injury/ Illness Reference No] IN {0,-1} ) )
DAWC BaseCount of INCIDENT_CASE_REFERENCE_NO Where AWAY_FROM_WORKYCOUNTROWS( FILTER( SUMMARIZE('INCIDENT ANALYSIS', 'INCIDENT ANALYSIS'[Incident Case Reference No], "@AFW", SUM('INCIDENT ANALYSIS'[AWAY_FROM_WORK] ) ), [@AFW] > 0))
DAWC Days Away From Work CasesCount of cases with Days Away from workN IF(ISBLANK( IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[DAWC Base] , 'INCIDENT ANALYSIS MEASURES'[DAWC YTD] )), 0, IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[DAWC Base] , 'INCIDENT ANALYSIS MEASURES'[DAWC YTD]) )
Days Lost BaseSum of AWAY_FROM_WORKYSUM('INCIDENT ANALYSIS'[AWAY_FROM_WORK])
Days lost due to DAWCDays lost due to Away from work for the periodN IF(ISBLANK( IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[Days Lost Base] , 'INCIDENT ANALYSIS MEASURES'[Days Lost YTD] )), 0, IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[Days Lost Base] , 'INCIDENT ANALYSIS MEASURES'[Days Lost YTD]) )
Has an Injury/ IllnessCount of INCIDENT_CASE_REFERENCE_NO Where Injury or Illness is reportedNCOUNTROWS( FILTER (SUMMARIZE('INCIDENT ANALYSIS','INCIDENT ANALYSIS'[Incident Case Reference No],"@COUNT_INCIDENTS",COUNT('INCIDENT ANALYSIS'[Incident Case Reference No])), [@COUNT_INCIDENTS]>1) )
LC BaseCount of INCIDENT_CASE_REFERENCE_NO Where LOSS OF CONSCIOUSNESS = "TRUE"YCOUNTROWS( FILTER( SUMMARIZE('INCIDENT ANALYSIS', 'INCIDENT ANALYSIS'[Incident Case Reference No], 'INCIDENT ANALYSIS'[Loss of Consciousness], "@Count", COUNT('INCIDENT ANALYSIS'[Incident Case Reference No])) , 'INCIDENT ANALYSIS'[Loss of Consciousness] = "TRUE" ) )
LC Loss of conciousnessLoss of consciousness cases for the periodN IF(ISBLANK( IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[LC Base] , 'INCIDENT ANALYSIS MEASURES'[LC YTD] )), 0, IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[LC Base] , 'INCIDENT ANALYSIS MEASURES'[LC YTD]) )
MT BaseCount of INCIDENT_CASE_REFERENCE_NO Where MEDICAL TREATMENT = "Hospital / Medical Institution"YCOUNTROWS( FILTER( SUMMARIZE('INCIDENT ANALYSIS', 'INCIDENT ANALYSIS'[Incident Case Reference No], 'INCIDENT ANALYSIS'[Medical Treatment], "@Count", COUNT('INCIDENT ANALYSIS'[Incident Case Reference No])) , 'INCIDENT ANALYSIS'[Medical Treatment] = "Hospital / Medical Institution" ) )
MT Medical Treatment beyond first aidCount of Medical Treatment Beyond First aid cases based on the periodN IF(ISBLANK( IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[MT Base] , 'INCIDENT ANALYSIS MEASURES'[MT YTD] )), 0, IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[MT Base] , 'INCIDENT ANALYSIS MEASURES'[MT YTD]) )
No Injury/ IllnessCount of Incident Case Reference NoN COUNTROWS( FILTER (SUMMARIZE('INCIDENT ANALYSIS','INCIDENT ANALYSIS'[Incident Case Reference No],"@COUNT_INCIDENTS",COUNT('INCIDENT ANALYSIS'[Incident Case Reference No])), [@COUNT_INCIDENTS]=1) )
RWC BaseCount of INCIDENT_CASE_REFERENCE_NO Where RESTRICTED_WORK >0YCOUNTROWS( FILTER( SUMMARIZE('INCIDENT ANALYSIS', 'INCIDENT ANALYSIS'[Incident Case Reference No], "@RW", SUM('INCIDENT ANALYSIS'[RESTRICTED_WORK] ) ), [@RW] > 0) )
RWC Restricted Work Cases or Transfer to another jobRestricted Work Cases or Transfer to another job for the periodN IF(ISBLANK( IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[RWC Base] , 'INCIDENT ANALYSIS MEASURES'[RWC YTD] )), 0, IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[RWC Base] , 'INCIDENT ANALYSIS MEASURES'[RWC YTD]) )
TRI BaseCount of Rows where INCIDENT_COUNT=1 and REPORTABLE TO EXTERNAL BODY = "TRUE"YCOUNTROWS(FILTER('INCIDENT ANALYSIS', 'INCIDENT ANALYSIS'[INCIDENT_COUNT] = 1 && 'INCIDENT ANALYSIS'[Reportable to External Body] = "Reportable"))
Total Reportable CasesCount of cases reportable to external regulatory bodyN IF(ISBLANK( IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[TRI Base] , 'INCIDENT ANALYSIS MEASURES'[TRI YTD] )), 0, IF( HASONEFILTER('REPORTING PERIOD'[Reporting Date]), 'INCIDENT ANALYSIS MEASURES'[TRI Base] , 'INCIDENT ANALYSIS MEASURES'[TRI YTD]) )
Workdays RestrictedSum of Restricted workNSUM('INCIDENT ANALYSIS'[RESTRICTED_WORK])

Time Intelligence Measures

Time based measures are calculated in the cube with respect to other measures. The table below defines the meaning/definition of  the different time measures. These measures need to be used with a specific time dimension hierarchy [REPORTING_DATE].[RepDateMFHy].

Measure Meaning
YTD Aggregated value for current month in current  year. E.g. for period 202010 Ytd represents sum of periods 202000-202010.
R12 For a given period, the sum all months from one year back up to the previous month. E.g. Rolling 12 for 202010 is the sum of months 201910 - 202009
PY Previous Year
The value of the corresponding month one year back. E.g. for month 202010, the value of month 201910.
YTD PY Year to Date Previous Year
Aggregated value for corresponding month one year back. E.g. for month 202010 YTD Previous Year represents sum of months 201901-201910.
R12 PY Rolling 12 (completed) Months Previous Year
For a given month, first going one year back, then taking the sum of all months from one (more) year back up to the previous month. E.g. for month 202010 the sum of month 201810-201909
Avg XXX Ytd Sum XXX YTD/Count XXX YTD
Avg XXX R12 Sum XXX R12/Count XXX R12
XXX % YTD Count XXX YTD/Count YYY YTD
XXX % R12 Count XXX R12/Count XXX R12

USED BY MODEL(S)

Model Name Product Area
Incident Analysis

Data source Information

The data source for this object is defined using IFS Developer Tool. The data source contains a number of transformations where the model reads data from the last step, i.e. the Data source view name (DW Source View Name).

Additional information can be found in the online documentation of Information Sources.

Model Table DW Source view (SQL Server) BI Access View Referenced Information Source Recommended Access Type
INCIDENT ANALYSIS MEASURES