1

使用以下 MDX

WITH
  SET [My Countries] as [Customers].[Geography].[Country]
  CATEGORY CALCULATED MEMBER [Customers].[Geography].[Europe].[Benchmark] AS {[Customers].[Geography].[Country].&[FRA], [Customers].[Geography].[Country].&[ITA], [Customers].[Geography].[Country].&[ESP]}
  MEMBER [My Measure] as [Measures].[Amount] ,
          FORMAT_STRING='percent', BACK_COLOR=paletteOutliersLight( 0.5 + 4 * ( currentCellValue() - ([Customers].[Geography].[Europe].[Benchmark],[Amount],[Stats].[Stats-Time].[L-Stats-Time].[Year Change %]) ))
SELECT
[Time].[Year].[Year].[2006]:[Time].[Year].[Year].[2010] ON COLUMNS,
{ [Customers].[Geography].[Europe].[Benchmark]  }
    +
    Order( [My Countries], [Time].[Year].[Year].[2010], BDESC )
    ON ROWS
 FROM [Sales]
    where ([My Measure],[Stats].[Stats-Time].[L-Stats-Time].[Year Change %])
CELL PROPERTIES STYLE, CLASSNAME, VALUE, FORMATTED_VALUE

以https://www.iccube.com/livedemo/?ic3reportName=Benchmarking为例

我可以得到一个由不同区域组成的基准......[Customers].[Geography].[Europe].[Benchmark]

但我无法深入了解这些领域的细节......有没有办法做到这一点?

4

0 回答 0