Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Calculate Percentage

$
0
0
I need one help to calculate percentage from cube[code="sql"] SELECT NON EMPTY { [Measures].[Fact Student Count] } ON COLUMNS, NON EMPTY { ([Dim Schools].[School Report Name].[School Report Name].ALLMEMBERS * [Dim Calendar].[School Year].[School Year].ALLMEMBERS * [Dim Student].[Student ID].[Student ID].ALLMEMBERS * [Dim Attendance Codes].[Attendance Group].[Attendance Group].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM [FactStudentDataSourceView] CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS[/code]the Mdx Query as above, now from this i need to calculate percentageif i browse cube i got output as below[code="plain"]School Report Name School Year Student ID Attendance Group Fact Student CountXYZ 2003 001231231 Absent 3XYZ 2003 001231231 Present 178[/code]From this i need to calculate Attendance Rate. is it possible from calculated Member?please help me to develop thisThanks

Viewing all articles
Browse latest Browse all 1341

Trending Articles