dbTalk Databases Forums  

Setting the default member

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


Discuss Setting the default member in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
reinfried.englmairqc-bergmann.at
 
Posts: n/a

Default Setting the default member - 05-10-2004 , 10:25 AM






Is there a solution to select more than one member in a
dimension. The default member for a dimension is usually
at the "All level". But I want to set e.g. in the product-
dimension of Foodmart2000 the default members to
[Product].[Product Family].&[Drink] and [Product].
[Product Family].&[Food].

Many thanks.

Reply With Quote
  #2  
Old   
Matthias Englert
 
Posts: n/a

Default Re: Setting the default member - 05-11-2004 , 02:42 AM






"reinfried.englmairqc-bergmann.at" <anonymous (AT) discussions (DOT) microsoft.com>
schrieb im Newsbeitrag news:ad3201c436a3$0ab093d0$a601280a (AT) phx (DOT) gbl...
Quote:
Is there a solution to select more than one member in a
dimension. The default member for a dimension is usually
at the "All level". But I want to set e.g. in the product-
dimension of Foodmart2000 the default members to
[Product].[Product Family].&[Drink] and [Product].
[Product Family].&[Food].

Many thanks.

Hi,

you can create a calc member in the cube with sum of Drink and Food and then
use it as the default in the dimension.

HTH,
Matthias




Reply With Quote
  #3  
Old   
 
Posts: n/a

Default Re: Setting the default member - 05-11-2004 , 07:45 AM



In the dimension editor I canīt use calc members!!!
In the eimension editor only dimension elements are
allowed.
Also there are no MDX formulars like SUM are allowed.

The expression
[Product].[Product Family].&[Drink],[Product].[Product
Family].&[Food]
in the MDX of Default Member in the dimension editor
(AdvancedTab) is ignored.

The expression
[Product].[Product Family].&[Drink]
is okay, but I want
[Product].[Product Family].&[Drink] AND [Product].
[Product Family].&[Food]


Quote:
-----Original Message-----
"reinfried.englmairqc-bergmann.at"
anonymous (AT) discussions (DOT) microsoft.com
schrieb im Newsbeitrag news:ad3201c436a3$0ab093d0
$a601280a (AT) phx (DOT) gbl...
Is there a solution to select more than one member in a
dimension. The default member for a dimension is
usually
at the "All level". But I want to set e.g. in the
product-
dimension of Foodmart2000 the default members to
[Product].[Product Family].&[Drink] and [Product].
[Product Family].&[Food].

Many thanks.


Hi,

you can create a calc member in the cube with sum of
Drink and Food and then
use it as the default in the dimension.

HTH,
Matthias


.


Reply With Quote
  #4  
Old   
reinfried.englmair@c-bergmann.at
 
Posts: n/a

Default Re: Setting the default member - 05-11-2004 , 07:53 AM



In the dimension editor I canīt use calc members!!!
In the eimension editor only dimension elements are
allowed.
Also there are no MDX formulars like SUM are allowed.

The expression
[Product].[Product Family].&[Drink],[Product].[Product
Family].&[Food]
in the MDX of Default Member in the dimension editor
(AdvancedTab) is ignored.

The expression
[Product].[Product Family].&[Drink]
is okay, but I want
[Product].[Product Family].&[Drink] AND [Product].
[Product Family].&[Food]



Quote:
-----Original Message-----
"reinfried.englmairqc-bergmann.at"
anonymous (AT) discussions (DOT) microsoft.com
schrieb im Newsbeitrag news:ad3201c436a3$0ab093d0
$a601280a (AT) phx (DOT) gbl...
Is there a solution to select more than one member in a
dimension. The default member for a dimension is
usually
at the "All level". But I want to set e.g. in the
product-
dimension of Foodmart2000 the default members to
[Product].[Product Family].&[Drink] and [Product].
[Product Family].&[Food].

Many thanks.


Hi,

you can create a calc member in the cube with sum of
Drink and Food and then
use it as the default in the dimension.

HTH,
Matthias


.


Reply With Quote
  #5  
Old   
Matthias Englert
 
Posts: n/a

Default Re: Setting the default member - 05-11-2004 , 09:20 AM



You have to create the calc member in the cube:
[Product].[my Product] > [Product].[Product Family].&[Drink] +
[Product].[Product Family].&[Food]

Then go back to the dim editor and type in the name of the calc member
([Product].[my Product]) manually as MDX formula and ignore the message when
leaving the editor.

This works, as the member will be found when browsing the cube. But you have
to be aware that this can lead to problems when using the same (public)
dimension in other cubes that don't have this calc member!

Regards,
Matthias


"reinfried.englmair (AT) c-bergmann (DOT) at" <anonymous (AT) discussions (DOT) microsoft.com>
schrieb im Newsbeitrag news:b4b801c43756$febd23e0$a101280a (AT) phx (DOT) gbl...
In the dimension editor I canīt use calc members!!!
In the eimension editor only dimension elements are
allowed.
Also there are no MDX formulars like SUM are allowed.

The expression
[Product].[Product Family].&[Drink],[Product].[Product
Family].&[Food]
in the MDX of Default Member in the dimension editor
(AdvancedTab) is ignored.

The expression
[Product].[Product Family].&[Drink]
is okay, but I want
[Product].[Product Family].&[Drink] AND [Product].
[Product Family].&[Food]



Quote:
-----Original Message-----
"reinfried.englmairqc-bergmann.at"
anonymous (AT) discussions (DOT) microsoft.com
schrieb im Newsbeitrag news:ad3201c436a3$0ab093d0
$a601280a (AT) phx (DOT) gbl...
Is there a solution to select more than one member in a
dimension. The default member for a dimension is
usually
at the "All level". But I want to set e.g. in the
product-
dimension of Foodmart2000 the default members to
[Product].[Product Family].&[Drink] and [Product].
[Product Family].&[Food].

Many thanks.


Hi,

you can create a calc member in the cube with sum of
Drink and Food and then
use it as the default in the dimension.

HTH,
Matthias


.




Reply With Quote
  #6  
Old   
reinfried.englmair@c-bergmann.at
 
Posts: n/a

Default Re: Setting the default member - 05-12-2004 , 02:38 AM



Thank You very much. It works perfect. This is a very
good solution.
Quote:
-----Original Message-----
You have to create the calc member in the cube:
[Product].[my Product] > [Product].[Product Family].&
[Drink] +
[Product].[Product Family].&[Food]

Then go back to the dim editor and type in the name of
the calc member
([Product].[my Product]) manually as MDX formula and
ignore the message when
leaving the editor.

This works, as the member will be found when browsing
the cube. But you have
to be aware that this can lead to problems when using
the same (public)
dimension in other cubes that don't have this calc
member!

Regards,
Matthias


"reinfried.englmair (AT) c-bergmann (DOT) at"
anonymous (AT) discussions (DOT) microsoft.com
schrieb im Newsbeitrag news:b4b801c43756$febd23e0
$a101280a (AT) phx (DOT) gbl...
In the dimension editor I canīt use calc members!!!
In the eimension editor only dimension elements are
allowed.
Also there are no MDX formulars like SUM are allowed.

The expression
[Product].[Product Family].&[Drink],[Product].[Product
Family].&[Food]
in the MDX of Default Member in the dimension editor
(AdvancedTab) is ignored.

The expression
[Product].[Product Family].&[Drink]
is okay, but I want
[Product].[Product Family].&[Drink] AND [Product].
[Product Family].&[Food]



-----Original Message-----
"reinfried.englmairqc-bergmann.at"
anonymous (AT) discussions (DOT) microsoft.com
schrieb im Newsbeitrag news:ad3201c436a3$0ab093d0
$a601280a (AT) phx (DOT) gbl...
Is there a solution to select more than one member in
a
dimension. The default member for a dimension is
usually
at the "All level". But I want to set e.g. in the
product-
dimension of Foodmart2000 the default members to
[Product].[Product Family].&[Drink] and [Product].
[Product Family].&[Food].

Many thanks.


Hi,

you can create a calc member in the cube with sum of
Drink and Food and then
use it as the default in the dimension.

HTH,
Matthias


.



.


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.