Error : The Measures hierarchy already appears in the Axis0 axis.

Hello I wrote a simple MDX query and getting the error :The Measures hierarchy already appears in the Axis0 axis.
WITH  
MEMBER   [Measures].[x] AS
 --CASE 
   --WHEN [Terminals].[Terminal Type Name].[OEM - Over the Counter PC] THEN 'OEM'
--ELSE
-- 'ABC'
--END
[Terminals].[Terminal Type Name].[Terminal Type Name].CurrentName
SELECT 
[Measures].[Amount]
 ON COLUMNS
NON EMPTY 
[Measures].[x] 
 ON ROWS
FROM [MyAwsomeCube] 
mark it as answer if it answered your question :)

Hi Parry2K,
Based on your information, you get the "The Measures hierarchy already appears in the Axis0 axis." when executing the MDX query. Right?
In Analysis Services, the measures in MDX are metrics value stored in your Fact Tables. Measures are used to analyze performance of the Business. Measure usually contains numeric data, which can be aggregated against usage of associated dimensions. So in
a MDX query, we can't just have one measure on rows and other measure on columns. In your scenario, the calculated member is a measure, so it will throw the error. you can either change a dimension on columns or put both measure on same axis.
If you have any question, please feel free to ask.
Simon Hou
TechNet Community Support

Similar Messages

Maybe you are looking for