dbTalk Databases Forums  

MDX help again

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


Discuss MDX help again in the microsoft.public.sqlserver.olap forum.



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

Default MDX help again - 02-02-2004 , 08:44 PM






Hi,
But some values appear in cells & for some cells I get
the error

Thanks

Steve

Calc members aren't drillthrough-able.

public @ the domain below
www.tomchester.net

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

Quote:
Hi,
Can anyone help me with this please

I am trying to build a calculated member. Syntax seems
correct butin the cube I am getting the following error.

Unable to drill through
Cannot execute drillthrough on calculated member MTTT in
dimension Measures

Claculated Member

iif(([Pay Type].[Pay Type].&[Hourly])
--iif(([Pay Type] = Hourly)
or([Measures].[Number of Employees] = 0),
--then
Null,
--else
([Measures].[Org Salary]/[Measures].[Number of
Employees]))


(Using Foodmart example here from HR cube)

I'll be very greatful if you can fix the ssyntax for the
above Claculated Member.

Thanks

Steve

..




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.