任何人都可以解释为什么这个失败了:
WITH MEMBER [Measures].[T]
as
Filter(
[Customer].[Customer Name].Children,
[Measures].[Sales] > 65042.79
)
SELECT
[Measures].[T] on 0
FROM [SalesCube]
虽然这个很好吗?
SELECT
Filter(
[Customer].[Customer Name].Children,
[Measures].[Sales] > 65042.79
) on 0
FROM [SalesCube]
第一个给出错误
“函数需要参数的字符串或数字表达式。使用了连音符集表达式。”
他们看起来和我完全一样。
答案 0 :(得分:1)
意识到应该是
WITH SET [T]
as
Filter(
[Customer].[Customer Name].Children,
[Measures].[Sales] > 65042.79
)
SELECT
[Measures].[T] on 0
FROM [SalesCube]