Hi,
I have a cube that is migrated from AS 2000 to SSAS 2005.
One of the dimensions in the AS 2000 cube was a combination of 2 tables.
For instance:
Dimension name in AS 2000: Customer Type
Hierarchy: Level 1: Account Type (from table Dim_Account)
Lever 2: Product Type (from table Dim_Product)
Now after migrating this cube to SSAS 2005 this appears to produce an error.
I tried recreating this dimension, but it appears that I can't combine different dimension tables into 1 hierarchy. By this I don't mean the "Referenced" relationship type.
The only reference between the 2 dimension tables is the fact table.
I hope I make myself clear and someone can give me an answer, because otherwise I'm facing a lot of work :-/
Thanks!
It is bit unusual to build a single dimension from two tables that are referenced through the fact table.
There are several solutions you can try:
One, you can build 2 dimensions Account and Product and then stack hierarchy from Account on top of Product's hierarchy. This is probably better overall solution because you will be creating your dimensions and cube to follow the logical structure of the data you have in the relational database.
Another solution is to create Named Query in DSV to combine two tables into one and then build a single dimension on top of it. You'll have to make sure you do all the joins correctly.
Hope that helps.
Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
hello,
How do i stack those hierarchy?
thanks
sqlsql
No comments:
Post a Comment