我找不到原因,因为如果我将另一个非关键属性(如果可行),则在“与成员”中具有关键属性dimensio的查询将无法在何处进行过滤。
尺寸FE6 FE6是关键(整数) FE6b(整数) Descripción(字符)
WITH
SET [FILAS] AS EXCEPT([FE6].[FE6].[FE6].members, {})
MEMBER [FE6].[FE6].[FILASTOTAL] AS ([FE6].[FE6].[All]) , CAPTION = 'Total'
SELECT
{
[Measures].[Documento]
}
ON 0,
{
[FILAS],
[FILASTOTAL]
}
ON 1
FROM [ModelosPredictivos2]
WHERE
(
{[FE6].[Descripcion].&[2]}
)
2 162091 总计1544775
WITH
SET [FILAS] AS EXCEPT([FE6].[FE6B].[FE6B].members, {})
MEMBER [FE6].[FE6B].[FILASTOTAL] AS ([FE6].[FE6B].[All]) , CAPTION = 'Total'
SELECT
{
[Measures].[Documento]
}
ON 0,
{
[FILAS],
[FILASTOTAL]
}
ON 1
FROM [ModelosPredictivos2]
WHERE
(
{[FE6].[Descripcion].&[2]}
)
2 162091 总计162091 谢谢。