Symptoms

Consider the following scenario:

  • You use Microsoft SQL Server 2012 Analysis Services (SSAS 2012) or SSAS 2014 in a multidimensional model.

  • You create a Power View report in SharePoint 2013.

  • You try to select more than one hierarchy from a parent/child dimension that uses naming template, and at least one level name of the parent/child hierarchy naming template is identical to the name of an existing attribute hierarchy in the same dimension.

In this scenario, you cannot select the second hierarchy, and you receive the following exception:

Microsoft.Reporting.QueryDesign.ExpressionTrees.Translators.Internal.DaxTranslationException: DaxExpression specifies duplicate columns. Table expression columns must be unique. at Microsoft.Reporting.QueryDesign.ExpressionTrees.Translators.Internal.DaxExpression..ctor(String text, IList`1 resultColumns) at Microsoft.Reporting.QueryDesign.ExpressionTrees.Translators.Internal.DaxExpression.Table(String text, IList`1 resultColumns) at Microsoft.Reporting.QueryDesign.ExpressionTrees.Translators.Internal.DaxTransform.Visit(QueryScanExpression expression) at Microsoft.Reporting.QueryDesign.ExpressionTrees.Internal.QueryScanExpression.Accept[TResultType](QueryExpressionVisitor`1 visitor) at Microsoft.Reporting.QueryDesign.ExpressionTrees.Translators.Internal.DaxTransform.EvaluateInScope[TResult](QueryExpressionBindingBase input, Func`2 tableScopedFunc, Boolean wrapInputTableInKeepFilters)

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.