dbTalk Databases Forums  

Eliminate the Default "Top" level in a MSAS 2005 dimension.

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


Discuss Eliminate the Default "Top" level in a MSAS 2005 dimension. in the microsoft.public.sqlserver.olap forum.



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

Default Eliminate the Default "Top" level in a MSAS 2005 dimension. - 05-23-2006 , 02:55 PM






Hi,

I would like to build a flat dimension. I want a "Gender" dimension with
just 2 values "Male" & "Female".

The problem is MSAS 2005 inserts a default "All" level (parent). This is
what i want to eliminate while building the dimension.

Any ideas?

Thanks,

Prasad.

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

Default Re: Eliminate the Default "Top" level in a MSAS 2005 dimension. - 05-23-2006 , 05:35 PM






Hi Prasad,

Did you try setting the "IsAggregatable" property to false?

http://msdn2.microsoft.com/en-us/library/ms174497.aspx
Quote:
Configuring the All Level for Attribute Hierarchies

In Microsoft SQL Server 2005 Analysis Services (SSAS), the (All) level
is an optional, system-generated level. It contains only one member
whose value is the aggregation of the values of all members in the
immediately subordinate level. This member is called the All member. It
is a system-generated member that is not contained in the dimension
table. Because the member in the (All) level is at the top of the
hierarchy, the member's value is the consolidated aggregation of the
values of all members in the hierarchy. The All member often serves as
the default member of a hierarchy.

The presence of an (All) level in an attribute hierarchy depends on the
IsAggregatable property setting for the attribute and the presence of an
(All) level in a multilevel hierarchy depends on the IsAggregatable
property of the attribute at the top-most level of multilevel hierarchy.
If the IsAggregatable property is set to True, an (All) level will
exist. A hierarchy has no (All) level if the IsAggregatable property is
set to False.
...
Quote:

- Deepak

Deepak Puri
Microsoft MVP - SQL Server

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


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

Default Re: Eliminate the Default "Top" level in a MSAS 2005 dimension. - 05-24-2006 , 01:15 PM



Hi Deepak,

Thanks a lot.

I have one other question. In MSAS 2000 within the cube editor, i used to go
to different levels in multi level hierarchial dimension and specify whether
to involve a particular level in the Aggregation strategy while building the
cube or not.

I am not sure how to do the same in MSAS 2005?

Thanks & Best Regards,

Prasad.

"Deepak Puri" wrote:

Quote:
Hi Prasad,

Did you try setting the "IsAggregatable" property to false?

http://msdn2.microsoft.com/en-us/library/ms174497.aspx

Configuring the All Level for Attribute Hierarchies

In Microsoft SQL Server 2005 Analysis Services (SSAS), the (All) level
is an optional, system-generated level. It contains only one member
whose value is the aggregation of the values of all members in the
immediately subordinate level. This member is called the All member. It
is a system-generated member that is not contained in the dimension
table. Because the member in the (All) level is at the top of the
hierarchy, the member's value is the consolidated aggregation of the
values of all members in the hierarchy. The All member often serves as
the default member of a hierarchy.

The presence of an (All) level in an attribute hierarchy depends on the
IsAggregatable property setting for the attribute and the presence of an
(All) level in a multilevel hierarchy depends on the IsAggregatable
property of the attribute at the top-most level of multilevel hierarchy.
If the IsAggregatable property is set to True, an (All) level will
exist. A hierarchy has no (All) level if the IsAggregatable property is
set to False.
...



- 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.