SSAS 表格时间智能函数

SSAS Tabular Time Intelligence functions

我使用的是兼容级别 1200 的表格模型,我想使用 YTD、LYTD 等时间智能计算。 是否可以在此版本的 SQL Server Analysis Services 上执行此操作?

是否可以在 SSAS 表格中创建日期维度?

此致,

是的,您可以在 SSAS 中使用时间智能计算。检查版本中 DAX 支持的最佳起点是 Power BI,Excel 和 SSAS 是 dax.guide, here for example is the DAX link for TOTALYTD

您可以通过多种方式以 DAX 格式创建 Date Dim,例如使用 CALENDARAUTO,或者从源系统中的日历导入它(如果有的话)。但是,当您使用 SSAS 兼容性 1200 时,您无法获得 calculation groups (Compatibility 1500), which means you'll have to create a YTD measure for each of the items you need a YTD value for. For more on this subject please see the SQLBI resource 时间智能

的选项