dbTalk Databases Forums  

parent child query

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


Discuss parent child query in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rama via SQLMonster.com
 
Posts: n/a

Default parent child query - 02-18-2005 , 11:51 AM






in a parent child dimension, can a child belong to more than one parent?
Has anyone had any experience with such a situation?


TIA

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #2  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: parent child query - 02-18-2005 , 12:21 PM






No, a child can not belong to more than one parent.

But I heard this kind of requirement sometimes, so I'd like to hear some
experience from others too.

Ohjoo Kwon
www.olapforum.com


"rama via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Quote:
in a parent child dimension, can a child belong to more than one parent?
Has anyone had any experience with such a situation?


TIA

--
Message posted via http://www.sqlmonster.com



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

Default Re: parent child query - 02-18-2005 , 01:12 PM



A new feature SQL 2005 Analysis Services is full support of many-to-many
dimensions.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Ohjoo Kwon" <ojkwon (AT) olap (DOT) co.kr> wrote

Quote:
No, a child can not belong to more than one parent.

But I heard this kind of requirement sometimes, so I'd like to hear some
experience from others too.

Ohjoo Kwon
www.olapforum.com


"rama via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote in message
news:e43643b780504669b699d405a6a657e7 (AT) SQLMonster (DOT) com...
in a parent child dimension, can a child belong to more than one parent?
Has anyone had any experience with such a situation?


TIA

--
Message posted via http://www.sqlmonster.com





Reply With Quote
  #4  
Old   
rama via SQLMonster.com
 
Posts: n/a

Default Re: parent child query - 02-18-2005 , 01:22 PM



i tried using the many to many feature, but that results in the 2 m:n
attributes being in separate dims. So we cannot create a user hierarchy for
the user to use on the UI

Also, this feature seems to roll up child aggrgates to ALL parents. I would
like to aggregate a child to any one parent only based on the fact details.

tia

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #5  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: parent child query - 02-18-2005 , 02:22 PM



If there are level1, level2 and M:N relationship between the two levels, I
understand AS 2005 can solve it with many-to-many dimension as following.

MainFact -> lev1 <-- Fact12(M:N) -> lev2
Quote:
|
------------------------------------
Of course, it does not support user hierarchy having M:N relationship among
levels. Actually important is that it automatically avoids data duplication
at aggregation level.

Here, I wonder how to solve next case.

If there are many levles having M:N relationship between levels.

MainFact->lev1<-Fact12(M:N)->lev2<-Fact23(M:N)->lev3<-FactMN(M:N)->levN
Quote:
|
-------------------------------------------------------------------

Does this make sense?

Ohjoo


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote

Quote:
A new feature SQL 2005 Analysis Services is full support of many-to-many
dimensions.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.

"Ohjoo Kwon" <ojkwon (AT) olap (DOT) co.kr> wrote in message
news:%23G9DuYeFFHA.1348 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
No, a child can not belong to more than one parent.

But I heard this kind of requirement sometimes, so I'd like to hear some
experience from others too.

Ohjoo Kwon
www.olapforum.com


"rama via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote in message
news:e43643b780504669b699d405a6a657e7 (AT) SQLMonster (DOT) com...
in a parent child dimension, can a child belong to more than one
parent?
Has anyone had any experience with such a situation?


TIA

--
Message posted via http://www.sqlmonster.com







Reply With Quote
  #6  
Old   
rama via SQLMonster.com
 
Posts: n/a

Default Re: parent child query - 02-18-2005 , 02:29 PM



makes sense.

There might be an impact on the performance though - AS will have to query
all those joins...

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #7  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: parent child query - 02-18-2005 , 03:03 PM



If then, is it possible to set the latter case at Dimension Usage view of
cube builder? I'd like to know how to set continuous many-to-many
dimensions.


"rama via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Quote:
makes sense.

There might be an impact on the performance though - AS will have to query
all those joins...

--
Message posted via http://www.sqlmonster.com



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

Default Re: parent child query - 02-18-2005 , 06:00 PM



These structures are only scanned went processing dimensions. Processing the
core fact tables are not impacted by a M:M -- remember we do processing of
dimensions *separately* from partition processing. These joins are dimension
only.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"rama via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Quote:
makes sense.

There might be an impact on the performance though - AS will have to query
all those joins...

--
Message posted via http://www.sqlmonster.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.