1
看着下面的答案,我想用過濾器替換範圍。MDX用過濾器替換範圍
MDX - Concurrent calculations based on a "record time range"?
的MDX是:
with member [Measures].[TotalUsed] as sum({[Date].[YQM].&[20090501]:[Date].[YQM].&[20090907]}, [Measures].[Used])
select {[Measures].[Total Used]}on columns,
{[Color].[Colors].[All].MEMBERS}on rows
from [Cube]
我想用這樣的過濾器更換日期範圍:
with member [Measures].[TotalUsed] as sum(FILTER([Date].[YQM], [Date].[YQM] < [Date].[YQM].&[20090907]), [Measures].[Used])
select {[Measures].[Total Used]}oncolumns,
{[Color].[Colors].[All].MEMBERS}on rows
from [Cube]
什麼是條件語句尋找比較價值的條款?任何幫助將是偉大的!
謝謝!