dbTalk Databases Forums  

MDX Frage, NonEmtyCrossJoin behaviour

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


Discuss MDX Frage, NonEmtyCrossJoin behaviour in the microsoft.public.sqlserver.olap forum.



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

Default MDX Frage, NonEmtyCrossJoin behaviour - 08-19-2004 , 04:17 AM






Why following expressions return diffrent result


SET [RowSet0] AS '{[ADM Kunde].[Alle].children}'
SET [RowSet1] AS 'NonEmptyCrossjoin([RowSet0],{[Measures].[Relation_Kunde]},
1)'

and

SET [RowSet0] AS '{[ADM Kunde].[Alle].children}'
SET [RowSet1] AS
'EXTRACT(NonEmptyCrossjoin([RowSet0],{[Measures].[Relation_Kunde]}),[ADM
Kunde])'


Thanks,

Vladimir Chtepa



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

Default Re: MDX Frage, NonEmtyCrossJoin behaviour - 08-19-2004 , 12:24 PM






What is the exact difference between the two ?

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Yukon information at http://www.mosha.com/msolap/yukon.htm
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.
==================================================

"Vladimir Chtepa" <vc.clean_this (AT) diacom-systemhaus (DOT) clean_this.de> wrote in
message news:OLbEjUdhEHA.3320 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Quote:
Why following expressions return diffrent result


SET [RowSet0] AS '{[ADM Kunde].[Alle].children}'
SET [RowSet1] AS
'NonEmptyCrossjoin([RowSet0],{[Measures].[Relation_Kunde]},
1)'

and

SET [RowSet0] AS '{[ADM Kunde].[Alle].children}'
SET [RowSet1] AS
'EXTRACT(NonEmptyCrossjoin([RowSet0],{[Measures].[Relation_Kunde]}),[ADM
Kunde])'


Thanks,

Vladimir Chtepa





Reply With Quote
  #3  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: MDX Frage, NonEmtyCrossJoin behaviour - 08-20-2004 , 08:23 AM



See www.sql.ru

"Mosha Pasumansky [MS]" <moshap (AT) online (DOT) microsoft.com> schrieb im Newsbeitrag
news:e4YNqFhhEHA.536 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Quote:
What is the exact difference between the two ?

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Yukon information at http://www.mosha.com/msolap/yukon.htm
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.
==================================================

"Vladimir Chtepa" <vc.clean_this (AT) diacom-systemhaus (DOT) clean_this.de> wrote in
message news:OLbEjUdhEHA.3320 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Why following expressions return diffrent result


SET [RowSet0] AS '{[ADM Kunde].[Alle].children}'
SET [RowSet1] AS
'NonEmptyCrossjoin([RowSet0],{[Measures].[Relation_Kunde]},
1)'

and

SET [RowSet0] AS '{[ADM Kunde].[Alle].children}'
SET [RowSet1] AS
'EXTRACT(NonEmptyCrossjoin([RowSet0],{[Measures].[Relation_Kunde]}),[ADM
Kunde])'


Thanks,

Vladimir Chtepa







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.