Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Assume that you use a calculated table that summarizes the dataset in a partition query in Microsoft SQL Server 2014 and 2016. In this situation, you may experience a circular dependency in the following scenarios:

  • The column names in the calculated table are the same as the names in the summarize function, and the related tables have a many-to-one relationship to the calculated table.

  • The calculated table is related to the tables that are part of the summarize function. For example, you have Table B that is related to the calculated table. There is a column name in Table B that matches a column name in one or more tables that are part of summarize function.


This problem is fixed in the following updates for SQL Server:

         Cumulative Update 3 for SQL Server 2016 SP2

         Cumulative Update 11 for SQL Server 2016 SP1

Cumulative Update 12 for SQL Server 2014 Service Pack 2

Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for your version of SQL Server:

Latest cumulative update for SQL Server 2016

The latest cumulative updates for SQL Server 2014


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


Learn about the terminology Microsoft uses to describe software updates.

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.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!