SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


@CURRMBRRANGE to MDX query


@CURRMBRRANGE to MDX query

Author
Message
gurusankar.g
gurusankar.g
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 52
Hi ,

Please help me out to get the Proper MDX query ..

Below is my Essbase formula need to be converted to MDX query ..

IF(@ISMBR(Actual,Budget,Forecast))

(@SUMRANGE (A02, @CURRMBRRANGE(Period,LEV,0,-12,0)) /

(@SUMRANGE (BusPool, @CURRMBRRANGE(Period,LEV,0,-12,0))/13))*100;

ENDIF;

I have tried the below but it is showing syntax error near the LEVEL ,

(SUM(Crossjoin({[Dim Variable].[Parent Variable Id].&[69]},{
RelMemberRange(
[Dim Period].[Period ID].CurrentMember, 12,0,LEVEL)}))/
SUM(Crossjoin({[Dim Variable].[Parent Variable Id].&[363]},{
RelMemberRange(
[Dim Period].[Period ID].CurrentMember, 12, 0,LEVEL)})/13))*100

Please correct me,,

Thanks in Advance
santade
santade
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 5
Hi buddy!!!

I have a lot of issues converting Essbase formulas to Analysis Services - could you help me about convert ISLEV to MDX? I am experiencing tag #VALUE on the field. Do you have any document that explain some conversions formulas?

Thanks a lot!

Gustavo
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search