Reena33
These are some of the calculations: ProductivityTime, TextLC are base measures.
CREATE MEMBER CURRENTCUBE.[MEASURES].[Productivity Time in Hours]
AS ([Doc Rev Count].[Doc Rev Count].&[1],[Measures].[Productivity Time]) /3600,
FORMAT_STRING = "#",
NON_EMPTY_BEHAVIOR = { [Productivity Time] },
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Productivity Time in hours - Edited Docs]
AS ([Dim Speech].[New Speech Chargable Value].&[Edited],[Doc Rev Count].[Doc Rev Count].&[1],[Measures].[Productivity Time])/3600,
FORMAT_STRING = "#",
NON_EMPTY_BEHAVIOR = { [Productivity Time] },
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Productivity Time in Hours - Typed Docs]
AS ([Dim Speech].[New Speech Chargable Value].&[Typed],[Doc Rev Count].[Doc Rev Count].&1],[Measures].[Productivity Time])/3600,
FORMAT_STRING = "#",
NON_EMPTY_BEHAVIOR = { [Productivity Time] },
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Typed Lines]
AS ([Measures].[Text LC],[Dim Speech].[New Speech Chargable Value].&[Typed]),
FORMAT_STRING = "#,#.00",
NON_EMPTY_BEHAVIOR = { [Text LC] },
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Hours taken to type]
AS [Measures].[Text LC]/[Measures].[Typed Lines/Hr over 2 years],
FORMAT_STRING = "#,#.00",
NON_EMPTY_BEHAVIOR = { [Text LC] },
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Typed Lines/Hr over 2 years]
AS [Measures].[Typed Lines over 2 years]/[Measures].[Productivity Time in Hours over 2 years - Typed Docs],
FORMAT_STRING = "#,#.00",
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Typed Lines Over 2 years]
AS SUM(LASTPERIODS(24,[Dim Date].[Month Year]),([Doc Rev Count].[Doc Rev Count].&[1],[Dim Speech].[New Speech Chargable Value].&[Typed],[Measures].[Text LC])),
FORMAT_STRING = "#,#.00",
NON_EMPTY_BEHAVIOR = { [Text LC] },
VISIBLE = 1 ;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Productivity Time in Hours over 2 years - Typed Docs]
AS SUM(LASTPERIODS(24,[Dim Date].[Month Year]),([Dim Speech].[New Speech Chargable Value].&[Typed],[Doc Rev Count].[Doc Rev Count].&[1],[Measures].[Productivity Time]) /3600),
FORMAT_STRING = "#,#.00",
VISIBLE = 1 ;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Time Saved %]
AS ([Measures].[Hours Saved]/[Measures].[Hours taken to type]) * 100,
FORMAT_STRING = "Percent",
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Speech Edited for Rev 1]
AS ([Dim Speech].[New Speech Chargable Value].&[Edited],[Doc Rev Count].[Doc Rev Count].&[1],[Measures].[Text LC]),
FORMAT_STRING = "#,#.00",
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Hours Saved]
AS ([Measures].[Speech Edited for Rev 1] / [Measures].[Typed Lines/Hr over 2 years])
/ ([Measures].[Typed Lines Over 2 years] / [Measures].[Speech Edited Lines/Hr]),
FORMAT_STRING = "#,#.00",
VISIBLE = 1;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Lines Per 1000]
AS ([Doc Rev Count].[Doc Rev Count].&[1],[Measures].[Text LC] )/ 1000,
FORMAT_STRING = "#,#.00",
NON_EMPTY_BEHAVIOR = { [Text LC] },
VISIBLE = 1 ;