![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all I'm fixed with a strange situation. I was trying for a solution but in vain.. please help me ASAP This is the situation: i have a fact table with 2 FK's comin into it. But both the FK's are from the same table. i need to build 2 dimensions based on that. here is my table structure: Table A: bs_sk numeric bs_ab_sk_causedby numeric bs_ab_sk_causedto numeric bs_id Table B: ab_sk numeric ab_id here bs_ab_sk_causedby and bs_ab_sk_caused to come from table B and point to ab_sk. Hope you have got the issue. what i want is two dimensions; one based on ab_id joined thru bs_ab_sk_causedby and the other thru bs_ab_sk_causedto i can do this in SQL query by calling the table B one more time using a alias. How can i build a dimension from a alias table? when i tried this I'm getting Analysis services error "Unable to open recordset"! i tried creating 2 dimensions seperately based on above joins and created 2 cubes from each of those dimensions. I tried creating a virtual cube but in vain, i was unable to bring both the dimension members!! is there any other way out? Please help!!! Thanks in advance -- Posted via http://dbforums.com |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |