按度量小计过滤
Filtering by a subtotal of the measure
我在 MDX 中有以下查询:
SELECT {
[Season].[Season].members *
[Measures].[Wins]
} ON COLUMNS, {
Filter([Team].[Name].[Name].members, [Measures].[Wins] > 100)
} ON ROWS
FROM [Nfl2]
这里我按“所有获胜次数 > 100”进行过滤。我将如何按“2012 年获胜次数 > 10”进行过滤?
使用此代码:
SELECT {
[Season].[Season].members *
[Measures].[Wins]
} ON COLUMNS, {
Filter([Team].[Name].[Name].members, ([Season].[Season].&[2012],[Measures].[Wins]) > 100)
} ON ROWS
FROM [Nfl2]
我在 MDX 中有以下查询:
SELECT {
[Season].[Season].members *
[Measures].[Wins]
} ON COLUMNS, {
Filter([Team].[Name].[Name].members, [Measures].[Wins] > 100)
} ON ROWS
FROM [Nfl2]
这里我按“所有获胜次数 > 100”进行过滤。我将如何按“2012 年获胜次数 > 10”进行过滤?
使用此代码:
SELECT {
[Season].[Season].members *
[Measures].[Wins]
} ON COLUMNS, {
Filter([Team].[Name].[Name].members, ([Season].[Season].&[2012],[Measures].[Wins]) > 100)
} ON ROWS
FROM [Nfl2]