dbTalk Databases Forums  

CASE analog in MDX

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


Discuss CASE analog in MDX in the microsoft.public.sqlserver.olap forum.



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

Default CASE analog in MDX - 09-18-2003 , 04:08 AM






Hi All!

Is there in MDX analog of simple CASE or searched CASE expressiona of T-SQL?

The "Professional SQL Server 2000 data warehousing with Analysis Services"
of Tony Bain, Mike Benkovich etc. said that this construction exisits in
MSAS MDX but I can't write a formula with this expression for calculated
member.

Thank's!

Eugene.




Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: CASE analog in MDX - 09-18-2003 , 09:45 AM






Unfortunately, there is no CASE. I seem to recall that CASE made it's way
into the OLEDB for OLAP spec, but not the product.

tom @ the domain below
www.tomchester.net


"Eugene Frolov" <john (AT) alice (DOT) ru> wrote

Quote:
Hi All!

Is there in MDX analog of simple CASE or searched CASE expressiona of
T-SQL?

The "Professional SQL Server 2000 data warehousing with Analysis Services"
of Tony Bain, Mike Benkovich etc. said that this construction exisits in
MSAS MDX but I can't write a formula with this expression for calculated
member.

Thank's!

Eugene.






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

Default Re: CASE analog in MDX - 09-18-2003 , 02:57 PM



"Eugene Frolov" <john (AT) alice (DOT) ru> wrote

Quote:
Hi All!

Is there in MDX analog of simple CASE or searched CASE expressiona of
T-SQL?

The "Professional SQL Server 2000 data warehousing with Analysis Services"
of Tony Bain, Mike Benkovich etc. said that this construction exisits in
MSAS MDX but I can't write a formula with this expression for calculated
member.

Thank's!

Eugene.
The alternatives are:

1. Nested IIFs
2. Choose function.

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
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.