dbTalk Databases Forums  

AS2005 MDX help

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


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



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

Default AS2005 MDX help - 11-14-2005 , 10:16 PM






Hi all,

I am having some issues with the following MDX. This code works fine in
AS2000 but in AS2005 seems to act differently.

iif([Measures].[Sales]=NULL,NULL,Sum( YTD(), [Measures].[Sales] ))

What is the correct syntax for YTD in AS2005?



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

Default Re: AS2005 MDX help - 11-14-2005 , 10:35 PM






My Bad, sorry, seems to be something with my Time Dimension rather than the
MDX code.

Please ignore.
"Clint" <ccpatriot12 (AT) yahoo (DOT) com.au> wrote

Quote:
Hi all,

I am having some issues with the following MDX. This code works fine in
AS2000 but in AS2005 seems to act differently.

iif([Measures].[Sales]=NULL,NULL,Sum( YTD(), [Measures].[Sales] ))

What is the correct syntax for YTD in AS2005?




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.