dbTalk Databases Forums  

Conditional Unary

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


Discuss Conditional Unary in the microsoft.public.sqlserver.olap forum.



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

Default Conditional Unary - 01-07-2004 , 03:52 PM






I have a situation where a custom member in a dimension
sometimes needs to be added in another dim's hierarchy,
and sometimes subtracted.

How do I handle this ?

Thanks

Reply With Quote
  #2  
Old   
Thierry [MS]
 
Posts: n/a

Default Re: Conditional Unary - 01-07-2004 , 03:58 PM






This is the typical multiple parents situation that has been discussed in
previous thread.
- Create duplicate members with the same name but different IDs..
- For the second instance of the member, create a custom member fromula that
point to the initial member (since it is the one that is linked to the
transaction in the fact table)
- Now each instance can report to different parent in the same or in
different hierarchies and can each have different unary operator....

Thierry

This posting is provided "AS IS" with no warranties, and confers no rights.
"Mark" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a situation where a custom member in a dimension
sometimes needs to be added in another dim's hierarchy,
and sometimes subtracted.

How do I handle this ?

Thanks



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

Default Re: Conditional Unary - 01-07-2004 , 04:37 PM



Thanks for the reply.

In your solution, will end users see two members with the
same name in the hierarchy ?

Can I handle this in the custom member formula, or do
those formulas get calculated and stored at the leaf
level, then aggregated according to the unaries of the
other dims ?

Quote:
-----Original Message-----
This is the typical multiple parents situation that has
been discussed in
previous thread.
- Create duplicate members with the same name but
different IDs..
- For the second instance of the member, create a custom
member fromula that
point to the initial member (since it is the one that is
linked to the
transaction in the fact table)
- Now each instance can report to different parent in the
same or in
different hierarchies and can each have different unary
operator....

Thierry

This posting is provided "AS IS" with no warranties, and
confers no rights.
"Mark" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:032901c3d568$9b6071d0$a601280a (AT) phx (DOT) gbl...
I have a situation where a custom member in a dimension
sometimes needs to be added in another dim's hierarchy,
and sometimes subtracted.

How do I handle this ?

Thanks


.


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

Default Re: Conditional Unary - 01-07-2004 , 06:16 PM



You will see two members with the same name but different keys. Also notice
that they will show the same numbers.
These formula get calculated on the fly at query time... They are going to
be instantaneous anyway since they are just pointers to another members. The
value for each member gets rolledup to their respective parents with their
respective Unary operators..

Thierry

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

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

Quote:
Thanks for the reply.

In your solution, will end users see two members with the
same name in the hierarchy ?

Can I handle this in the custom member formula, or do
those formulas get calculated and stored at the leaf
level, then aggregated according to the unaries of the
other dims ?

-----Original Message-----
This is the typical multiple parents situation that has
been discussed in
previous thread.
- Create duplicate members with the same name but
different IDs..
- For the second instance of the member, create a custom
member fromula that
point to the initial member (since it is the one that is
linked to the
transaction in the fact table)
- Now each instance can report to different parent in the
same or in
different hierarchies and can each have different unary
operator....

Thierry

This posting is provided "AS IS" with no warranties, and
confers no rights.
"Mark" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:032901c3d568$9b6071d0$a601280a (AT) phx (DOT) gbl...
I have a situation where a custom member in a dimension
sometimes needs to be added in another dim's hierarchy,
and sometimes subtracted.

How do I handle this ?

Thanks


.




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.