dbTalk Databases Forums  

Default Measure of a Cube (AS2K vs. SSAS)

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


Discuss Default Measure of a Cube (AS2K vs. SSAS) in the microsoft.public.sqlserver.olap forum.



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

Default Default Measure of a Cube (AS2K vs. SSAS) - 11-10-2005 , 03:45 AM






In Analysis Services 2005, I haven't been able to define a "calculated
member" as the default measure of a cube. In Analysis Services 2000, it was
possible.

Is it a known limitation of Analysis Services 2005, or am I missing something?

Sincerely.
Elyo Ravuna

Reply With Quote
  #2  
Old   
Peter Yang [MSFT]
 
Posts: n/a

Default RE: Default Measure of a Cube (AS2K vs. SSAS) - 11-10-2005 , 11:34 PM






Hello Elyo,

I am not quite sure about what you mean by "default measure". Will you
explain this or your requirements in more details?

I assume that you want create calculated member in the cube so that you
could use it as a measure in cube browser. If it is the issue, I suggest
that you refer to "How to: Create a calculated member" topic in SQL 2005
Book Online for help.

You could create a calculated member in cube desinger of a Analysis Service
project in Visual Studio. After you deploy the project to AS, and you open
cube browser, you could see it is listed under Measures node.

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===



This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Quote:
Thread-Topic: Default Measure of a Cube (AS2K vs. SSAS)
thread-index: AcXl23IPHIU3ioTwSlu9OdIBeowdCw==
X-WBNR-Posting-Host: 212.156.221.126
From: "=?Utf-8?B?RWx5byBSYXZ1bmE=?=" <nebimnebim (AT) noemail (DOT) nospam
Subject: Default Measure of a Cube (AS2K vs. SSAS)
Date: Thu, 10 Nov 2005 01:45:12 -0800
Lines: 8
Message-ID: <D13AF0E9-A6F3-4C38-AF5C-C6F095430DA0 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.sqlserver.olap
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.olap:64351
X-Tomcat-NG: microsoft.public.sqlserver.olap

In Analysis Services 2005, I haven't been able to define a "calculated
member" as the default measure of a cube. In Analysis Services 2000, it
was
possible.

Is it a known limitation of Analysis Services 2005, or am I missing
something?

Sincerely.
Elyo Ravuna



Reply With Quote
  #3  
Old   
Elyo Ravuna
 
Posts: n/a

Default RE: Default Measure of a Cube (AS2K vs. SSAS) - 11-11-2005 , 03:31 AM



Dear Peter, I appreciate your effort to help. However my question is
unanswered. MDX requires every dimension to have a default member and the
measures dimension is no exception. Since the first version of Microsoft OLAP
Services, cubes have default measures.

My question is: How can I define a calculated member as the default measure
of a cube? I was able to define it in Analysis Services 2000, but I haven't
found a way to do it in Analysis Services 2005.

Sincerely.
Elyo Ravuna


"Peter Yang [MSFT]" wrote:

Quote:
Hello Elyo,

I am not quite sure about what you mean by "default measure". Will you
explain this or your requirements in more details?

I assume that you want create calculated member in the cube so that you
could use it as a measure in cube browser. If it is the issue, I suggest
that you refer to "How to: Create a calculated member" topic in SQL 2005
Book Online for help.

You could create a calculated member in cube desinger of a Analysis Service
project in Visual Studio. After you deploy the project to AS, and you open
cube browser, you could see it is listed under Measures node.

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===



This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: Default Measure of a Cube (AS2K vs. SSAS)
| thread-index: AcXl23IPHIU3ioTwSlu9OdIBeowdCw==
| X-WBNR-Posting-Host: 212.156.221.126
| From: "=?Utf-8?B?RWx5byBSYXZ1bmE=?=" <nebimnebim (AT) noemail (DOT) nospam
| Subject: Default Measure of a Cube (AS2K vs. SSAS)
| Date: Thu, 10 Nov 2005 01:45:12 -0800
| Lines: 8
| Message-ID: <D13AF0E9-A6F3-4C38-AF5C-C6F095430DA0 (AT) microsoft (DOT) com
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.olap
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.olap:64351
| X-Tomcat-NG: microsoft.public.sqlserver.olap
|
| In Analysis Services 2005, I haven't been able to define a "calculated
| member" as the default measure of a cube. In Analysis Services 2000, it
was
| possible.
|
| Is it a known limitation of Analysis Services 2005, or am I missing
something?
|
| Sincerely.
| Elyo Ravuna
|



Reply With Quote
  #4  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: Default Measure of a Cube (AS2K vs. SSAS) - 11-11-2005 , 07:47 PM



Quote:
My question is: How can I define a calculated member as the default
measure
of a cube? I was able to define it in Analysis Services 2000, but I
haven't
found a way to do it in Analysis Services 2005.
Elyo - in the engine this is done exactly the same way as in AS2000 -
through ALTER CUBE statement, however I agree that we had better UI support
in AS2000 for that.
Below is example from MDX Script which sets default measure to the
calculated measure:

CREATE MyCM = 5;

ALTER CUBE Sales UPDATE DIMENSION Measures, Default_Member =
'Measures.MyCM';


--
==============================*=================== =
Mosha Pasumansky - http://www.mosha.com/msolap
Analysis Services blog at http://www.sqljunkies.com/WebL*og/mosha
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==============================*=================== =




Reply With Quote
  #5  
Old   
Peter Yang [MSFT]
 
Posts: n/a

Default RE: Default Measure of a Cube (AS2K vs. SSAS) - 11-14-2005 , 02:14 AM



Hello Elyo,

I am sorry but I wonder if you tried the following steps I mentioned? I
think caculated member is still "default member" of measure (dimension) as
that in AS 2000 but

Create a calculated member in cube desinger of a Analysis Service project
in Visual Studio 2005. After you deploy the project to AS, and you open
cube browser, you could see the calucated member is listed under Measures
node of the cube. Most edit/design work used to work in AS Manager is not
transfered to Cube designer in AS project in VS 2005 or Development Studio.
I have included the following steps from BOL for your reference:

=========================================

You create a calculated member by using the Calculations view in Cube
Designer, which can be accessed from either SQL Server Management Studio or
Business Intelligence Development Studio. After you create the calculated
member, it becomes available to users after you re-deploy the cube.

To create a calculated member
Open the cube for which you want to create a calculated member, and click
the Calculations tab.

On the toolbar, click the New Calculated Member button, and then in the
expression pane, do the following:

Under Name, type a name for the calculated member.

From the Parent hierarchy drop-down list, choose the parent hierarchy.

From the Parent member drop-down list, choose the parent member, if
applicable.

Under Expression, create a Multidimensional Expressions (MDX) expression to
define the calculated member. You can either type the expression manually,
or you can drag and drop items from the Metadata and Functions tabs.

Optionally, expand Additional Properties, and then do the following:

Set the Format string and Visible properties: choose settings from the
drop-down lists next to each property name.

Set the Fore color, Back color, Font name, Font size, and Font flags
properties: click the button to the right of each text box, click the
setting you want, and then click OK. Alternatively, you can type the values
manually.
======================================

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===



This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Quote:
Thread-Topic: Default Measure of a Cube (AS2K vs. SSAS)
thread-index: AcXmorM0hhNnlpcSRSeea3j1DiAJ6Q==
X-WBNR-Posting-Host: 212.156.221.126
From: "=?Utf-8?B?RWx5byBSYXZ1bmE=?=" <nebimnebim (AT) noemail (DOT) nospam
References: <D13AF0E9-A6F3-4C38-AF5C-C6F095430DA0 (AT) microsoft (DOT) com
fh8lSGo5FHA.484 (AT) TK2MSFTNGXA02 (DOT) phx.gbl
Subject: RE: Default Measure of a Cube (AS2K vs. SSAS)
Date: Fri, 11 Nov 2005 01:31:31 -0800
Lines: 81
Message-ID: <A83D9777-F4FF-49FD-B6CD-C919434D92E5 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.sqlserver.olap
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.olap:64394
X-Tomcat-NG: microsoft.public.sqlserver.olap

Dear Peter, I appreciate your effort to help. However my question is
unanswered. MDX requires every dimension to have a default member and the
measures dimension is no exception. Since the first version of Microsoft
OLAP
Services, cubes have default measures.

My question is: How can I define a calculated member as the default
measure
of a cube? I was able to define it in Analysis Services 2000, but I
haven't
found a way to do it in Analysis Services 2005.

Sincerely.
Elyo Ravuna


"Peter Yang [MSFT]" wrote:

Hello Elyo,

I am not quite sure about what you mean by "default measure". Will you
explain this or your requirements in more details?

I assume that you want create calculated member in the cube so that you
could use it as a measure in cube browser. If it is the issue, I
suggest
that you refer to "How to: Create a calculated member" topic in SQL
2005
Book Online for help.

You could create a calculated member in cube desinger of a Analysis
Service
project in Visual Studio. After you deploy the project to AS, and you
open
cube browser, you could see it is listed under Measures node.

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader
so
that others may learn and benefit from your issue.

================================================== ===



This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
| Thread-Topic: Default Measure of a Cube (AS2K vs. SSAS)
| thread-index: AcXl23IPHIU3ioTwSlu9OdIBeowdCw==
| X-WBNR-Posting-Host: 212.156.221.126
| From: "=?Utf-8?B?RWx5byBSYXZ1bmE=?=" <nebimnebim (AT) noemail (DOT) nospam
| Subject: Default Measure of a Cube (AS2K vs. SSAS)
| Date: Thu, 10 Nov 2005 01:45:12 -0800
| Lines: 8
| Message-ID: <D13AF0E9-A6F3-4C38-AF5C-C6F095430DA0 (AT) microsoft (DOT) com
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.olap
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.olap:64351
| X-Tomcat-NG: microsoft.public.sqlserver.olap
|
| In Analysis Services 2005, I haven't been able to define a
"calculated
| member" as the default measure of a cube. In Analysis Services 2000,
it
was
| possible.
|
| Is it a known limitation of Analysis Services 2005, or am I missing
something?
|
| Sincerely.
| Elyo Ravuna
|





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.