THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

SQLBI - Marco Russo

SQLBI is a blog dedicated to building Business Intelligence solutions with SQL Server.
You can follow me on Twitter: @marcorus

Create chained relationships in PowerPivot

If you get an error trying to create chained relationships in PowerPivot (i.e. Customers - Orders - OrderDetails), there is a known issue with a possible workaround. The item is described on Connect, but here is the issue and the workaround:

ISSUE: A relationship between two tables A and B cannot be created if a relationship between B and C already exists using the same column in B that is also used to relate B to C.
Creating relationship in the opposite order works. Thus, if you create the relationship between A and B and only then the relationship between B and C (using the same column of B), the two relationships can be created.
This is strange because the final result should be not affected by the order of creation of the relationships.

WORKAROUND: Start creating relationships starting from the top-side. In other words, create A-B and then B-C, instead of B-C followed by A-B. If you already have B-C and need to create A-B, remove the B-C relationship, then create A-B and finally recreate B-C.

Published Friday, September 10, 2010 1:03 AM by Marco Russo (SQLBI)
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Milward - Norway said:

Nice litle comment to PowerPivot's.

Thank you Marco

November 11, 2010 4:55 PM

Leave a Comment

(required) 
(required) 
Submit

About Marco Russo (SQLBI)

Marco Russo is a consultant, writer and trainer specialized in Business Intelligence with Microsoft technologies. He runs the SQLBI.COM website, which is dedicated to distribute resources useful for BI developers, like Integration Services components, Analysis Services models, tools, technical information and so on. Marco is certified as MCT, MCDBA, MCSD.NET, MCSA, MCSE+I.

This Blog

Syndication

Archives

Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement