我做错了什么???无法让YTD工作。
RUNNING:
With
MEMBER [measures].[YTDFees] AS
Aggregate (YTD([Date Dim].Year.CurrentMember),[Measures].[Fees])
SELECT {[Measures].[Fees],
[Measures].[YTDFees]
} ON COLUMNS,
{[DATE Dim].[Year].Children*[Date Dim].[Month].children } ON ROWS
FROM [CheckCashingView]
抵达: 费用YTDFees
2013 1 6230939.22 6230939.22
2013 2 7856979.01 7856979.01
2013 3 7058780.18 7058780.18
2013 4 6144556.08 6144556.08
2013 5 6704988.58 6704988.58
2013 6 6298429.00 6298429.00
答案 0 :(得分:0)
您可能没有在SSAS选项中将时间维度标记为“时间”维度。转到SSAS Solution Explorer,选择Time维度并打开此维度。在“属性”部分中选择“时间”维度的名称,确保在“维度”属性中“类型”属性中存在“时间”。