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

Max value of a measure and corresponding values of measure 2

$
0
0
Hi ,I am trying to create a calculated member in Analysis server cube (2008 r2) to achieve the following. I want to display a corresponding measure 2 value based up on another measure (measure 1). The aggregation types for both the measures are MAX. When you aggregate the values for a hierarchy, first it should show the MAX (Value) of measure 1 and the corresponding value for measure 2.For measure 1 it is easy. I can set the aggregation type as "MAX" . But for the second measure I need to create a calculated member with an MDX expression.I have tried an expression which is working only for a single hierarchy. But as soon as I select the other hierarchies it shows wrong values.Example sheet is uploaded.Any help will be appreciated. ThanksJay

Viewing all articles
Browse latest Browse all 1341

Trending Articles