Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

MdxScript (61, 24) The dimension contains more than one hierarchy, therefore the hierarchy must be explicitly specified

$
0
0

Hi ,

I am developing cubes using SSAS 2008.My cube has around 10 calculated measures .But when I am creating another calculated measure with the new fact then I getting mentioned error message. Definition for calculated measure is as follows:-

CREATE MEMBER CURRENTCUBE.[Measures].[AverageMP]
 
AS Avg((Descendants([Dim_MP].[Hierarachy1].CurrentMember,,LEAVES),Descendants([Dim_MP].[Hierarachy2].CurrentMember,,LEAVES)),Measures.[MP]),
FORMAT_STRING = "#,#.00",

NON_EMPTY_BEHAVIOR = { [MP] },

VISIBLE = 1  ;

Other calculated measures are working fine and they have almost similar definition like mentioned above only deference are dimension and measures.

Please help .

Thanks & Regards,

VB


MSBI Developer



Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>