Queries: 6
Layouts: 1
6
Business Unit
|
[Presentation].[VW_STG_DEPARTMENT].[CODE]
|
|
Running Count
|
cast(running-count ([Business Unit]), varchar(2))
|
|
Departmental Name
|
[Running Count]+' . '+[Business Unit] + ' - '+[Presentation].[VW_STG_DEPARTMENT].[NAME_1]
|
Latest Valid Data Load Date
|
[Presentation].[Data Load Archive].[Latest Valid Data Load Date]
|
Business Unit
|
[Presentation].[VW_STG_DEPARTMENT].[CODE]
|
|
Department Name
|
[Presentation].[VW_STG_DEPARTMENT].[NAME_1]
|
|
Total PAR Case Count
|
total(count(Case when ([Presentation].[Case].[Created by Category] = 'PAR' or [Presentation].[Case].[Created by Category] = 'DIP') then 1 else null end) for [Business Unit])
|
|
Total Worklist Case Count
|
total(count(Case when ([Presentation].[Case].[Created by Category] = 'Worklist' or [Presentation].[Case].[Created by Category] = 'Liste de travail') then 1 else null end) for [Business Unit])
|
|
PAR Days
|
_round (total(Case when ([Presentation].[Case].[Created by Category] = 'PAR' or [Presentation].[Case].[Created by Category] = 'DIP') then (_days_between(cast(_add_hours([Presentation].[Case].[DATE_RECEIVED], -5),date) ,cast(_add_hours([Presentation].[Case].[DATE_EFFECTIVE_FROM], -5),date) ) ) else null end for [Business Unit]) ,0) / [Total PAR Case Count]
|
|
Worklist Days
|
_round (total(Case when ([Presentation].[Case].[Created by Category] = 'Worklist' or [Presentation].[Case].[Created by Category] = 'Liste de travail') then (_days_between(cast(_add_hours([Presentation].[Case].[DATE_RECEIVED], -5),date) ,cast(_add_hours([Presentation].[Case].[DATE_EFFECTIVE_FROM], -5),date) ) ) else null end for [Business Unit]), 0) / [Total Worklist Case Count]
|
|
Total OnTime or Delay Days
|
total(_days_between(cast(_add_hours([Presentation].[Case].[DATE_RECEIVED], -5),date) ,cast(cast(_add_hours([Presentation].[Case].[DATE_EFFECTIVE_FROM], -5),date) ,date)) for [Business Unit])
|
|
Total Case Count
|
total(count([Business Unit]))
|
|
Combined Days
|
round( [Total OnTime or Delay Days] /[Total Case Count] , 0 )
|
|
Rank by PAR
|
rank ([PAR Days])
|
|
Rank by Worklist
|
rank ([Worklist Days])
|
|
Rank Combined
|
rank ([Combined Days])
|
|
Begin Date
|
IF (?Date_Option_p? = '0' ) THEN ( #prompt('ParamStartDate', 'date', 'current_date')# ) ELSE ( _add_months (_first_of_month (current_date),-12) )
|
|
End Date
|
IF (?Date_Option_p? = '0' ) THEN (#prompt('ParamEndDate', 'date', 'current_date')# ) ELSE (_last_of_month (_add_months (current_date, -1) ) )
|
DEPT_CODE
|
[Presentation].[VW_CMT_DEPARTMENT_POPULATION].[(en-zw) DEPT_CODE]
|
|
POPULATION
|
[Presentation].[VW_CMT_DEPARTMENT_POPULATION].[(en-zw) POPULATION]
|
Aggregate
total
|
Business Unit
|
[Presentation].[VW_STG_DEPARTMENT].[CODE]
|
|
Departmental Name
|
[Business Unit] + ' - '+[Presentation].[VW_STG_DEPARTMENT].[NAME_1]
|
|
Link
|
1
|
[Main Query].[Business Unit] = [Departmental Population Query].[DEPT_CODE]
Business Unit
|
[Main Query].[Business Unit]
|
|
Department Name
|
[Main Query].[Department Name]
|
|
Departmental Population
|
[Departmental Population Query].[POPULATION]
|
|
Total PAR Case Count
|
[Main Query].[Total PAR Case Count]
|
|
Total Worklist Case Count
|
[Main Query].[Total Worklist Case Count]
|
|
PAR Days
|
[Main Query].[PAR Days]
|
|
Worklist Days
|
[Main Query].[Worklist Days]
|
|
Total Case Count
|
[Main Query].[Total Case Count]
|
|
Combined Days
|
[Main Query].[Combined Days]
|
|
Rank by PAR
|
[Main Query].[Rank by PAR]
|
|
Rank by Worklist
|
[Main Query].[Rank by Worklist]
|
|
Rank Combined
|
[Main Query].[Rank Combined]
|
|
Total OnTime or Delay Days
|
[Main Query].[Total OnTime or Delay Days]
|
|
Link
|
1
|