dbTalk Databases Forums  

MDX syntax problem

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


Discuss MDX syntax problem in the microsoft.public.sqlserver.olap forum.



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

Default MDX syntax problem - 04-10-2005 , 12:43 PM






I have a very simple cube consisting of two dimensions and one measure. The
first dimensions is an ordinary Time-dimension (Year, Month, Quarter, Day)
and the second Flow_type, is a flat dimension with just three members, 1=
Opening Balance, 2 = In, 3 = Out.

In the Calculated Members Builder created a Calculated Measure with the
following syntax
Iif([Flow_Type] = 0, [Measures].[Quantity], Null)

I don’t get any syntax error when I click the Check-button, but something is
wrong because the Calculated Measure just returns “Err”. What’s wrong?

--
Not a Guru

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.