在下面的 MDX 中,如果参数 @{AnneeSelected} 等于“2015”,我想将我的计算成员命名为“Evolution 2012-2015”
with CALCULATED MEMBER [Periode].[Periode].[Evolution] AS percChange(@{AnneeSelected}, @{AnneeSelected}.lag(2) )
SET [Years with data] AS @{AnneeSelected}.lag(2):@{AnneeSelected}
select {[Years with data]} + {[Periode].[Periode].[Evolution]} on 0,
{[Measures].[NbSejours], [Measures].[Séjours Théoriques], [Measures].[Séjours Réels], [Measures].[Nombre Lits], [Measures].[Population]} ON 1
FROM [Cube]
有没有办法做到这一点 ?