dbTalk Databases Forums  

MDX Error

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


Discuss MDX Error in the microsoft.public.sqlserver.olap forum.



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

Default MDX Error - 11-17-2006 , 05:43 AM






Hi,

i am getting following error while running MDX query.

Error - The property request is invalid in the current context - in the
"PROPERTIES" function

MDX Query is -

with member [Measures].[NewM] as
'case when [Channel].CurrentMember.properties("DesignationCode")="AG"
then 1
else 0
end'
SELECT
{ [Measures].[Channel_Profit], [Measures].[NewM] } ON COLUMNS
,
drilldownlevel({[Channel].[All Channel], [Channel].[All
Channel].Children }) ON ROWS
FROM
[ProfitabilityCubeNew]

can anybody know the solution for the above problem.

Thanks & Regards,
Pravin Viroje


Reply With Quote
  #2  
Old   
pravin
 
Posts: n/a

Default Re: MDX Error - 11-21-2006 , 03:16 AM







pravin wrote:
Quote:
Hi,

i am getting following error while running MDX query.

Error - The property request is invalid in the current context - in the
"PROPERTIES" function

MDX Query is -

with member [Measures].[NewM] as
'case when [Channel].CurrentMember.properties("DesignationCode")="AG"
then 1
else 0
end'
SELECT
{ [Measures].[Channel_Profit], [Measures].[NewM] } ON COLUMNS
,
drilldownlevel({[Channel].[All Channel], [Channel].[All
Channel].Children }) ON ROWS
FROM
[ProfitabilityCubeNew]

can anybody know the solution for the above problem.

Thanks & Regards,
Pravin Viroje

hi

can anybody reply for the same, i am facing the same problem from last
2 days. Please if any one have idea about the above problem.


Thanks & Regards,



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.