Applies ToSQL Server 2012 Analysis Services

Symptoms

Assume that you use Microsoft SQL Server 2012 Analysis Service (SSAS 2012) or SSAS 2014 in Unified Dimension Model (UDM) mode. When you execute a Data Analysis Expressions (DAX) query with filter on members after you have run a DAX query without any filters, the query returns incorrect result. For example: You run the following DAX query first against Adventureworks cube:

EVALUATE ROW("Internet_Gross_Profit", 'Internet Sales'[Internet Gross Profit])

And then you run the following DAX query after the previous query:

EVALUATECALCULATETABLE(ROW("Internet_Gross_Profit", 'Internet Sales'[Internet Gross Profit]),KEEPFILTERS(FILTER(KEEPFILTERS(VALUES('Date'[Month of Year.Key0])),OR(OR('Date'[Month of Year.Key0] = 9, 'Date'[Month of Year.Key0] = 8),'Date'[Month of Year.Key0] = 5))))

It returns the same result as the first query. This is incorrect.

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Status

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.