FIX: The SAMEPERIODLASTYEAR function does not work in DAX queries in SQL Server 2016 Analysis Services

Applies to: SQL Server 2016 DeveloperSQL Server 2016 Enterprise CoreSQL Server 2016 Enterprise

Symptoms


The SAMEPERIODLASTYEAR function doesn't work in Data Analysis Expressions (DAX) queries in SQL Server 2016 Analysis Services.

Note This function works in Multidimensional Expressions (MDX) queries in SQL Server 2016 Analysis Services.

Resolution


This update is included in Cumulative Update 1 for SQL Server 2016 Service Pack 1.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology Microsoft uses to describe software updates.