Inactive relationships in Data Model

rpmitchell

New Member
Joined
Jun 22, 2011
Messages
43
Now I have a question regarding relationships between tables in the 2013 Data Model. It seems that when I create a relationship between 2 lookup tables, power pivot will automatically make it "Inactive". Why is that? I haven't read anything about Inactive relationships, or that they can exist. In the Diagram view, it shows as a dotted line, and in the Manage relationships dialog box, it shows the status as inactive. Why are some relationships inactivated? :confused:
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Typically that happens because you can't have 2 relationships between the same 2 tables... even indirectly through another table. I think it usually gives you a warning/error about "there is already a relationship between these 2 tables" ?
 
Upvote 0
No warning. I was trying to relate the Charges table to the Current month ATB TABLE. Both of theses are already lookup tables to the Adjustments table. It let me build it, but when I tried pivoting, I got a "relationship may be needed" message. When I checked the manage relationship dialogue box, I saw the inactive relationship. The common key between all tables is the account ID, which is what I use to build all the relationships. I guess it's because there is an indirect relationship already established, like you said. My workaround was building a calculated column in the Charges table using the Lookupvalue function, which works without a relationship. I found that trick in the PowerPivot Alchemy book.
 
Upvote 0

Forum statistics

Threads
1,224,041
Messages
6,176,028
Members
452,697
Latest member
CuriousSpreadsheet

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top