Question: I am trying to write this code: WITH MEMBER Measures.[Avg Class Size] AS Avg( [Measures].[Actual Enrollment], [Dim Course].[Course Code] ) SELECT NON EMPTY [Measures].[AVG Class
I am trying to write this code:
WITH MEMBER Measures.[Avg Class Size] AS Avg( [Measures].[Actual Enrollment], [Dim Course].[Course Code] ) SELECT NON EMPTY [Measures].[AVG Class Size] ON COLUMNS, NON EMPTY [Dim Instructor].[Department]*[Dim Course].[Level2] ON ROWS FROM [CCSE-DM]
But I get this error:
Executing the query ... The Axis1 function expects a tuple set expression for the argument. A string or numeric expression was used. Execution complete
Here is a pic
![I am trying to write this code: WITH MEMBER Measures.[Avg Class Size]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66eff9c4231b0_07566eff9c38e6b4.jpg)
NITH MEMBER Measures. [Avg Class Size] AS AVG(DESCENDANTS CSE-DM (Measures]. [Actual Enrollment] Dim Course] [Course Code] e, Metadata | Function ! Mcasure Group [Measures. [Average]) SELECT NON EMPTY (Measures].[AVG Class Size] ON COLUMINS NON EMPTY [Dim Instructor].[Department]"[Dim Course].[Level2] oN RONS 111 Measures FROM [CCSE-DM] Fact Fiegstration lActual Enrolment Enrollment Fact Registration Count KPl Dm Course H Course Code Course Number 1, Course Tie Level1 41 Level2 a Subject Code 1 Department Instructor ld Dim Instructor 100 % Employment Status Name Rank Executing the query Dm Section Modality Execution complete Section Code Dm Semester Academic Year Semester 1 Semester Code Year NITH MEMBER Measures. [Avg Class Size] AS AVG(DESCENDANTS CSE-DM (Measures]. [Actual Enrollment] Dim Course] [Course Code] e, Metadata | Function ! Mcasure Group [Measures. [Average]) SELECT NON EMPTY (Measures].[AVG Class Size] ON COLUMINS NON EMPTY [Dim Instructor].[Department]"[Dim Course].[Level2] oN RONS 111 Measures FROM [CCSE-DM] Fact Fiegstration lActual Enrolment Enrollment Fact Registration Count KPl Dm Course H Course Code Course Number 1, Course Tie Level1 41 Level2 a Subject Code 1 Department Instructor ld Dim Instructor 100 % Employment Status Name Rank Executing the query Dm Section Modality Execution complete Section Code Dm Semester Academic Year Semester 1 Semester Code Year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
