Integrated Financials
 EmployeeAgeRange_Query (Report Data Set)
  Properties
Property Value
DataSetName EmployeeAgeRange_Query
Data Source Reference
Collation
Case Sensitivity
Accent Sensitivity
Is MDX True
Query Command Type MDX
Query Data Source Name RSDS_EnterpriseDW_SSAS
Query Timeout
Use Generic Designer
Kanatype Sensitivity
Width Sensitivity
Integrated Security
  Query Command Text
SELECT 
  NON EMPTY 
    {[Measures].[Employee Count]} ON COLUMNS
 ,NON EMPTY 
    {
        [Employee].[Years Of Service To Institution].ALLMEMBERS
    }
  DIMENSION PROPERTIES 
    MEMBER_CAPTION
   ,MEMBER_UNIQUE_NAME
   ON ROWS
FROM 
  (
    SELECT 
      {[Employee].[Has Active Assignment].&[Yes]} ON COLUMNS
    FROM [HR_Payroll]
  )
WHERE
(
  StrToSet(@EmployeeLocation)
 ,StrToSet(@EmployeeFullPartTime)
 ,StrToSet(@EmployeeFunction)
)
  Fields
Field Name Field Type Field Value
Employee_Count
System.Int32
ParameterCaption
System.Int32
ParameterCaption
System.Int32
ParameterCaption
System.Int32
ParameterCaptionIndented
System.String
=Space(3*Fields!ParameterLevel.Value) + Fields!ParameterCaption.Value
ParameterCaptionIndented
System.String
=Space(3*Fields!ParameterLevel.Value) + Fields!ParameterCaption.Value
ParameterCaptionIndented
System.String
=Space(3*Fields!ParameterLevel.Value) + Fields!ParameterCaption.Value
ParameterLevel
System.Int32
ParameterLevel
System.Int32
ParameterLevel
System.Int32
ParameterValue
System.Int32
ParameterValue
System.Int32
ParameterValue
System.Int32
Years_Of_Service_To_Institution
System.String
Years11To15
=iif(Fields!Years_Of_Service_To_Institution.Value > 10 and Fields!Years_Of_Service_To_Institution.Value <= 15,Fields!Employee_Count.Value,0)
Years16To20
=iif(Fields!Years_Of_Service_To_Institution.Value > 15 and Fields!Years_Of_Service_To_Institution.Value <= 20,Fields!Employee_Count.Value,0)
Years21To25
=iif(Fields!Years_Of_Service_To_Institution.Value > 20 and Fields!Years_Of_Service_To_Institution.Value <= 25,Fields!Employee_Count.Value,0)
Years25Over
=iif(Fields!Years_Of_Service_To_Institution.Value > 25,Fields!Employee_Count.Value,0)
Years2To5
=iif(Fields!Years_Of_Service_To_Institution.Value > 1 and Fields!Years_Of_Service_To_Institution.Value <= 5,Fields!Employee_Count.Value,0)
Years6To10
=iif(Fields!Years_Of_Service_To_Institution.Value > 5 and Fields!Years_Of_Service_To_Institution.Value <= 10,Fields!Employee_Count.Value,0)
YearsLessEqualToOne
=iif(Fields!Years_Of_Service_To_Institution.Value <= 1 and NOT(IsNothing(Fields!Years_Of_Service_To_Institution.Value)),Fields!Employee_Count.Value,0)
  Query Parameters
Parameter Name Parameter Value
EmployeeFullPartTime
=Parameters!EmployeeFullPartTime.Value
EmployeeFunction
=Parameters!EmployeeFunction.Value
EmployeeLocation
=Parameters!EmployeeLocation.Value
Powered by BI Documenter