钻入类别计算会员

时间:2017-03-28 15:23:30

标签: mdx drilldown iccube-reporting

以下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]

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

0 个答案:

没有答案