Hi,
I have 2 Dim table D1 and D2 and 2 Fact tables F1 and F2 say.
Now, I create an attribute A11 to join D1 and F1 and A22 to join D2 and F2. In Report#1 I need to show an attribute A1(from D1),A2(from D2) and Fact from F1. What I did, is create those attributes and added the joins as their child, e.g. A11 attribute is the child of A1 and A22 attribute is the child of A2. The report sql is fine.
Now, in Rrport#2, I have a peculiar case where I need to join D2 with D1 and then D1 with fact F2.
So I created another attribute A12 and added it as the child of A2. Now when I drag A2, A1 and fact from F2 then I get a join between D1 and D2 and D1 and F2 as desired.
Problem is, since I added A12 as child of A2, so, I get this join in Report#1 as well which I don't want.
What should be the design in such cases.
Thanks and regards,
I have 2 Dim table D1 and D2 and 2 Fact tables F1 and F2 say.
Now, I create an attribute A11 to join D1 and F1 and A22 to join D2 and F2. In Report#1 I need to show an attribute A1(from D1),A2(from D2) and Fact from F1. What I did, is create those attributes and added the joins as their child, e.g. A11 attribute is the child of A1 and A22 attribute is the child of A2. The report sql is fine.
Now, in Rrport#2, I have a peculiar case where I need to join D2 with D1 and then D1 with fact F2.
So I created another attribute A12 and added it as the child of A2. Now when I drag A2, A1 and fact from F2 then I get a join between D1 and D2 and D1 and F2 as desired.
Problem is, since I added A12 as child of A2, so, I get this join in Report#1 as well which I don't want.
What should be the design in such cases.
Thanks and regards,