Sql Analysis Services Current Date

前端 未结 1 827
后悔当初
后悔当初 2021-01-24 13:11

I need to perform a calculation in SSAS which only applies to the current and future months (it can\'t be applied retrospectively using the available data).

I can do thi

相关标签:
1条回答
  • 2021-01-24 13:26
    CREATE SET CURRENTCUBE.[Current And Future Months]
     AS {
    StrToMember("[Dim Date].[Calendar].[Month].&[" + Format(now(), "yyyyMM") + "]"):NULL
    }
    
    0 讨论(0)
提交回复
热议问题