Advertisement

01.15.2008 at 07:11AM PST, ID: 23084070
[x]
Attachment Details

What is proper construct for IF ELSE IF in MDX?

Asked by Angela_Wilcox in OLAP, MS SQL Server

Tags: MDX (Essbase)

I  need to change a current calculation in one languiage to an MDX calc and after several hours of searching - I am uncertain as to best method.  The current formula is as follows:
IF(@ISMBR(Jan))
      SHEQRF100C=@ACCUM("NetIncome",Jan);
ELSEIF(@ISMBR(Feb))
      SHEQRF100C=@ACCUM("NetIncome",Jan,Feb); etc...

What I am unsure of is the MDX equivalent of doing an IF, ELSEIF repeated loop.  Anyone that can help me?  Much appreciated in advance.  I will continue searching.Start Free Trial
[+][-]01.15.2008 at 07:24AM PST, ID: 20663359

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.15.2008 at 08:46AM PST, ID: 20664116

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.16.2008 at 07:28AM PST, ID: 20672648

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 04:00AM PST, ID: 20722582

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: OLAP, MS SQL Server
Tags: MDX (Essbase)
Sign Up Now!
Solution Provided By: Angela_Wilcox
Participating Experts: 3
Solution Grade: B
 
 
[+][-]01.23.2008 at 04:13AM PST, ID: 20722631

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 01:30PM PST, ID: 20728062

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628