dbTalk Databases Forums  

Get Properties from another cube

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


Discuss Get Properties from another cube in the microsoft.public.sqlserver.olap forum.



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

Default Get Properties from another cube - 12-17-2004 , 04:18 AM






Hello,

does someone know
how to get a member
propertie of another
cube ?

lookupcube(
"Rating",
"(Groupe.["+Concessionnaire.currentmember.name+"].properties("Rating"))"
)

This syntax does not
work as long as the
lookupcube function
is used to get a
measure and not a
propertie.

Thanks

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

Default Re: Get Properties from another cube - 12-19-2004 , 02:23 PM






Maybe I am missing something, but since you have Concessionnaire dimension
in your cube, why don't you ask for it's member property directly ? Why do
you need to go to another cube ?

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Analysis Services blog at http://www.sqljunkies.com/WebLog/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.
==================================================

"%u" <nospam (AT) nospam (DOT) com> wrote

Quote:
Hello,

does someone know
how to get a member
propertie of another
cube ?

lookupcube(
"Rating",
"(Groupe.["+Concessionnaire.currentmember.name+"].properties("Rating"))"
)

This syntax does not
work as long as the
lookupcube function
is used to get a
measure and not a
propertie.

Thanks



Reply With Quote
  #3  
Old   
%u
 
Posts: n/a

Default Re: Get Properties from another cube - 12-21-2004 , 02:58 AM



Hello Mosha,

yes your are totally right. It is what I will do.
But it was interesting to know if it was possible to get
a member property between two cubes.

Thanks.

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

Default Re: Get Properties from another cube - 12-21-2004 , 04:19 PM



Quote:
But it was interesting to know if it was possible to get
a member property between two cubes.
You can get anything from another cube as long as it can be found inside
some cell. So you could create calculated member which referenced member
property, and query for it.

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Analysis Services blog at http://www.sqljunkies.com/WebLog/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
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.