dbTalk Databases Forums  

MSAS 2005 DB conversion problems - Hierarchical Dimensions

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss MSAS 2005 DB conversion problems - Hierarchical Dimensions in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JasonDWilson
 
Posts: n/a

Default MSAS 2005 DB conversion problems - Hierarchical Dimensions - 11-03-2005 , 02:06 PM






I am having problems with my MSAS db conversion. I posted a question earlier
and didn't really get an answer to help me, so now that I can provide a
little more information, I was hoping that someone would be able to help me
find the problem.

The problem appears to be with the conversion of heirarchical dimmensions.
From what I can see it appears that they were converted correctly, but when I
look at the data they are not correct. Below are some samples of what I have
in MSAS 2000 and 2005

From MSAS 2000
-------------------------------------
All Locations
Posicharge Mrb
(blank)
060/068
Posicharge Stock
(blank)
.022
...
From Browsing this Dimension in 2000 Cube Editor:
Cube Name:
CM340
Dimension:
Location
- Location
--Sub Location

From MSAS 2000
-------------------------------------
From Dimension Editor in VS for Locations Dimension under cube CM340:

===============================================
=Attributes: = Heir. & Levels = Data Source View
= ===============================================
=Locations = Locations =
=
= Location = -Location = ========
=
= Sub Location(key) = --Sub Location = = dbo.dim =
=
= = <new level> = = ....
= =
= = = =
..... = =
= = = =
..... = =
= = =
======== =
= = =
=
= = =
=
===============================================
From Browsing this Dimension in 2005 Dimension Editor:
All Locations
Posicharge Mrb
060/068
Posicharge Stock
(blank)
.022
...


Any help is greatly appreciated! If you need further clarification, let me
know.

Jason

Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: MSAS 2005 DB conversion problems - Hierarchical Dimensions - 11-03-2005 , 09:43 PM






Hi Jason,

What does the dimension table data look like, for the hierarchy that you
listed; and what does "(blank)" mean?
Does this migrate to a strong hierarchy in AS 2005?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #3  
Old   
JasonDWilson
 
Posts: n/a

Default Re: MSAS 2005 DB conversion problems - Hierarchical Dimensions - 11-04-2005 , 07:08 AM



Deepak,
I think I have found the problem. It appears to do with uniqueness of
member keys. AS2005 requires that all attributes have unique keys. Whereas
AS2000 lets you specify AreMemberKeysUnique=false on a level, in which case
the server implicitly concatenates the keys from the upper levels. You have
to do this manually in AS2005.

I am in the process of editing the dimensions that have problems in AS2005
and going to each attribute that I am having uniqueness problems with, and
then add additional columns to make each attribute unique. In the Property
Panel, selecting the KeyColumns field and adding the additional columns from
the heirarchy to make the key unique.


--
Jason


"Deepak Puri" wrote:

Quote:
Hi Jason,

What does the dimension table data look like, for the hierarchy that you
listed; and what does "(blank)" mean?
Does this migrate to a strong hierarchy in AS 2005?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


Reply With Quote
  #4  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: MSAS 2005 DB conversion problems - Hierarchical Dimensions - 11-05-2005 , 02:30 AM



Yup. We call adding additional key fields a "key collection". RDBMS' call it
a concatenated key.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"JasonDWilson" <JasonDWilson (AT) discussions (DOT) microsoft.com> wrote

Quote:
Deepak,
I think I have found the problem. It appears to do with uniqueness of
member keys. AS2005 requires that all attributes have unique keys. Whereas
AS2000 lets you specify AreMemberKeysUnique=false on a level, in which
case
the server implicitly concatenates the keys from the upper levels. You
have
to do this manually in AS2005.

I am in the process of editing the dimensions that have problems in
AS2005
and going to each attribute that I am having uniqueness problems with, and
then add additional columns to make each attribute unique. In the
Property
Panel, selecting the KeyColumns field and adding the additional columns
from
the heirarchy to make the key unique.


--
Jason


"Deepak Puri" wrote:

Hi Jason,

What does the dimension table data look like, for the hierarchy that you
listed; and what does "(blank)" mean?
Does this migrate to a strong hierarchy in AS 2005?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.