Custom Calculation in ASO - Error in MDX query

Hi All,
We are trying to use a run a custom calculation on our ASO cube
We are getting the error as below
Syntax error in input MDX query on line 13 at token ' )'
When i checked my POV i did not find any issue. Even when I try to put only one crossjoin, it is still giving me the error saying "error at line 2')' "
I am unable to find the cause of this issue.
Can any one help me on this.
******content of Maxl Script********
execute calculation on database ASOFNPLN.ASOFNPLN with local script_file D:\++++++++Sateesh+++++++\ADWEA\Custom.csc"
POV
"Crossjoin({[FY09]},
Crossjoin({[Actual]},
Crossjoin ({[Jan],[Feb]},
Crossjoin({[Working]},
CrossJoin({[XA]},
CrossJoin({[0000000]},
CrossJoin({[000000000]},
CrossJoin({[00000]},
CrossJoin({[175110]},
CrossJoin({[CC_ADWEA_0000_AED]},
CrossJoin({[Unspecified Product]},
CrossJoin({[HSP_InputValue]},
CrossJoin({[Local]} )))))))))))))"
SourceRegion "{[Opening Balance],[Ending Balance],[Periodic Balance]}";
*************** Content of Custom.csc *********
case when
IsUda([Account].currentMember, "Expense") OR IsUda([Account].currentMember, "Revenue")
AND
Is([Period].CurrentMember, [Jan]) OR Is([Period].CurrentMember, [Feb]) OR Is([Period].CurrentMember, [Mar]) OR Is([Period].CurrentMember, [Apr]) OR Is([Period].CurrentMember, [May]) OR Is([Period].CurrentMember, [Jun]) OR Is([Period].CurrentMember, [Jul]) OR
Is([Period].CurrentMember, [Aug]) OR Is([Period].CurrentMember, [Sep]) OR Is([Period].CurrentMember, [Oct]) OR Is([Period].CurrentMember, [Nov]) OR Is([Period].CurrentMember, [Dec]) OR Is([Period].CurrentMember, [YearTotal])
THEN
([Ending Balance]):=([Opening Balance]+[Periodic Balance]);
([Opening Balance]):=([View].[Ending Balance], [Period].CurrentMember.lag(1));
([Ending Balance]):=([Opening Balance]+[Periodic Balance]);
END

You've got a mismatched " in the first line of the "execute calculation" statement.
However, I think the real problem is in the calc script.  I don't believe you can do this in MDX:
CASE WHEN x THEN
    a := y;
    b := z;
END
You have to do this:
a := CASE WHEN x THEN y END;
b := CASE WHEN x THEN z END;
An alternative is to create a formula member for each of the measures you are trying to set (with the member formula containing the CASE logic) and have the calc script copy the formula member to the permanent member.

Similar Messages

  • Database error: The MDX query

    Hello,
    I am working on BO 4.0. I have created a BEx query in BI 7.0(allow external access to this query is enabled) and executed in Analyzer it is working fine there. I now created universe by using this BEx query which has 3 dimensions and 2 measures.
    Now I wanted to create a WEBI on top of that universe, when I tried to drag the dimensions it is showing the following error.
    Database error: The MDX query SELECT {  } ON COLUMNS , CROSSJOIN( CROSSJOIN( [ZCOUNTRY].[LEVEL01].MEMBERS, [ZCUSTGRP].[LEVEL01].MEMBERS ), [ZCITY].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [ZDEMO_001/REP_20110829064115]  failed to execute with the error Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'. (IES 10901) (WIS 10901)
    I also tried with Live Office the result is the above error message. I am now clueless of how get out of this. Please help me.
    Your response is always appreciated. Many Thanks.
    Note: I dont have any filters here.
    regards,
    Naresh

    Who are doing Scheduling operation??
    Developer or Admin??
    Dev: Check whether he/she has rights to Schedule (Ask your BO Admin).
    I'm Back

  • Error In MDX query

    Statement: SELECT{ CROSSJOIN({ [Product].[Product] }, { [Measures].[Shipping Units] })} ON ROWS FROM [Shipment]
    com.interlacesystems.iquery.QueryException: COLUMNS axis specification missing
         Statement: SELECT{ CROSSJOIN({ [Product].[Product] }, { [Measures].[Shipping Units] })} ON ROWS FROM [Shipment]
         at com.interlacesystems.iquery.imdx.QueryCommand.resolve(Unknown Source)
         at com.interlacesystems.iquery.imdx.QueryCommand.resolve(Unknown Source)
         at com.interlacesystems.iquery.imdx.IMDXQueryFactory.parseStatement(Unknown Source)
         at com.interlacesystems.iquery.QueryFactory.createStatement(Unknown Source)
         at com.interlacesystems.iquery.DefaultQueryExecutionHandler.<init>(Unknown Source)
         at com.interlacesystems.isclient.admin.query.QueryAction.makePreviewURL(Unknown Source)
         at com.interlacesystems.isclient.admin.query.QueryAction.exportQuery(Unknown Source)
         at com.interlacesystems.isclient.admin.query.QueryAction.preview(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)
         at com.interlacesystems.isclient.common.ISAction.process(Unknown Source)
         at com.interlacesystems.isclient.common.ISAction.execute(Unknown Source)
         at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
         at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.SessionInitFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.AuthorizationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.AuthenticationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.hyperion.css.wls.CssJpsFilter.doFilter(CssJpsFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.RootFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I am getting following error in While Executing a folllowing MDX Query.....

    general mdx format is
    SELECT
    { } ON COLUMNS,
    {} ON ROWS
    FROM [Cube]
    I think you are missing { } COLUMNS, in query.
    Thanks,
    Sumant

  • Error with MDX query -- measure not calculating properly

    Hi all,
    I have a calculation in my dataset [Currentsalesperiod]. Basically it gives me a set of all the sales periods, and than it takes the last value. However, when I use this calculation in my dataset, it only shows me the rows with the sales period 6.
    I have a feeling that the currentmember basically takes my whole output as a set and than calculated the sales period. When I use this in my nonempty on rows it only shows data for sales period = 6.
    How can I solve this?
    WITH
    SET [CurrentSalesPeriod]
    AS
    TAIL(
    NonEmpty(
                 [Point of sale].[Management period].[Management period],
                 {[Measures].[Sales amount]}
    YTD([Date invoice].[Bonus calendar - Week].[Bonus week of year].&[2014]&[52])
                 * [Point of sale].[Client id].CurrentMember
           ),1
    SELECT
    NonEmpty(
                 ([Point of sale].[Client id].[Client id]
    *[CurrentSalesperiod]
                 ,[Measures].[Total YTD Sales]
    on rows,
         [Measures].[Total YTD Sales] 
    on Columns
    FROM
        [RETAIL cube]

    Hi Y,
    I am not sure your calculation is doing what you want. As I read it, the set is simply the first non empty Management period that has a value for YTD. The result from your query is a list of all Client Ids, for that Management period, irrespective of Date
    Invoice. Is that what you want?
    Richard

  • ASO Custom Calculation (Procedural)

    Do custom calculations support using the ROUND mdx function? I know member functions are not supported but what about ROUND?
    I'm asking because I'm getting the following error:
    "Cannot Perform Custom Calc. Essbase Error(1300056): The expression is invalid"
    Thanks
    Edited by: rubylife on Nov 6, 2012 3:42 PM

    You've got a mismatched " in the first line of the "execute calculation" statement.
    However, I think the real problem is in the calc script.  I don't believe you can do this in MDX:
    CASE WHEN x THEN
        a := y;
        b := z;
    END
    You have to do this:
    a := CASE WHEN x THEN y END;
    b := CASE WHEN x THEN z END;
    An alternative is to create a formula member for each of the measures you are trying to set (with the member formula containing the CASE logic) and have the calc script copy the formula member to the permanent member.

  • MDX Query Not Working Well

    Hi guys,
    I created a calculated member using the following MDX query;
    CALCULATE; 
    CREATE MEMBER CURRENTCUBE.[Measures].[Dispute Accepted]
     AS 
            SUM(EXISTING([Measures].[Dispute Logged],([Dispute Status].[Status].&[Accepted]),([Date of Transaction].[Date].[All]))), 
    FORMAT_STRING = "Standard", 
    VISIBLE = 1 ,  DISPLAY_FOLDER = 'Dispute Management'  ;  
    And this is the output i got when I tried to browse the cube. Please can someone help me and check what is wrong with the query. Thanks
    me

    Hi lilutchay,
    Since this issue is related to Analysis Services, I will move this thread to Analysis Services forum. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.  
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Custom Calculation terminated with Essbase error 1200685 in POV

    I'm trying to improve the efficiency of an ASO calculation script by limiting the scope of the calculation using a filter within the POV.
    When I do this, I get an error that says MDX error: A symmetric set expression is expected. Custom Calculation terminated with Essbase error 1200685 in POV.
    Using a similar filter in an mdx query I can see that I should be updating approximately 5000 data points. That query returns data in less than a minute. If I remove the filter, the calc will run over 16 hours and not complete (I've killed it at that point). [FI - Begining Balance Calc] is a calculated member, which is dependent on other calculations. I'm thinking that the calculation is churning for all of the potential member combinations regardless of sparseness of the data.
    Error 1200685 is not documented in the Essbase Error Message guide. Any ideas on this anyone?
    calc_1.txt contains:
    [FI - Beginning Balance Stored] := [FI - Beginning Balance Calc];
    execute calculation on database REVFCTA.REVFCTA with
    local script_file "E:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\app\REVFCTA\REVFCTA\calc_1.txt"
    POV "FILTER(CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN({[Y.2011]},{[SEG.S0001]}),
    {[FORECAST]}),
    [ASSET TYPE].Levels(0).members),
    [FUND_INVESTOR].levels(0).members),
    [OZ_FUND].levels(0).members),
    {[PER.2]}), NOT ISEMPTY([FI - Beginning Balance]))"
    SourceRegion "({[FI - Beginning Balance Calc]})";
    This is the mdx query:
    SELECT
    {[FI - Beginning Balance Calc]} ON COLUMNS,
    FILTER(CROSSJOIN(CROSSJOIN([FUND_INVESTOR].Levels(0).members,
    [ASSET TYPE].LEVELS(0).MEMBERS),
    OZ_FUND.[OZ_FUND].LEVELS(0).MEMBERS), NOT ISEMPTY([FI - Beginning Balance]))
    ON ROWS
    FROM [REVFCTA.REVFCTA]
    WHERE ([Y.2011],[PER.2],[SEG.S0001],[FORECAST])

    I don't think it's so much that it no longer applies in current versions as that people don't understand that it only ever applied if you had multiple conditions testing more than one dense member.
    I still think that...
    FIX("Dense1", "Sparse1")
         Do something to Dense1
    ENDFIX
    FIX"Dense2", "Sparse1")
         Do something to Dense2
    ENDFIX
    ...is often going to be slower than...
    FIX("Sparse1")
         IF "Dense1"
              Do something to Dense1
         IF "Dense2"
              Do something to Dense2
    ENDFIX
    ...unless the subset of blocks is small enough that caching (Essbase or OS) results in the "Sparse1" blocks not having to be read from / written back to disk twice.

  • MDX query : Syntax error at token 'NONEMPTYMEMBER'

    Syntax error when executing this very simplified MDX query :
    WITH
    MEMBER [ANNEE].[YEAR1] AS
    NONEMPTYMEMBER FY10
    [FY10]
    MEMBER [ANNEE].[YEAR2] AS
    NONEMPTYMEMBER [FY10]
    [FY10]
    SELECT
    {[YEAR1],[YEAR2]} ON COLUMNS
    FROM [MICOPIGE.COM_MBU]
    Syntax error in input MDX query on line 9 at token 'NONEMPTYMEMBER'
    Note that line 9 "NONEMPTYMEMBER FY10" is a copy of line 4
    No error if I delete line 4
    Any help to understand and fix this error would be greatly appreciated.

    Precision : My goal is to reduce the 30mn duration of a complex MDX query with many calculated members, using the NONEMPTYMEMBER token.

  • MDX Query Syntax error

    I have a simple MDX query is shown in below:
    SELECT [Accounts].[pv] ON ROWS,
    [Reporting].Members ON COLUMNS
    FROM RoggeBSO.Db
    (please note that Accounts, pv and Reporting words are in square brackets)
    When I execute this query on the MDX Script Editor (in EAS), I get the following syntax error:
    Statement Executed with warnings.
    Syntax error in input MDX Query on line 1 at token 'ON'
    Unexpected Essbase error 1260052
    I tried this on both ASO & BSO cubes but didn't work. Could anyone help please?
    Regards
    Chandra
    Edited by: user2695091 on 22-Apr-2009 03:27

    SELECT {[Accounts].[pv]} ON ROWS,
    {[Reporting].Members} ON COLUMNS
    FROM RoggeBSO.Db

  • 'Essbase Error: Repeated dimension [Accounts] in MDX query'

    Dear Essbase Gurus,
    I have an error in a query passed to my Essbase cube from an OBI front end, but the errors states quite clearly that it is an essbase error:
    'Essbase Error: Repeated dimension Accounts in MDX query'
    This is the query it generated:
    With
    set Accounts3 as 'Accounts.Generations(3).members'
    set Attribute Calculations2 as '[Attribute Calculations].Generations(2).members'
    set Events5 as 'Events.Generations(5).members'
    set Month3 as 'Month.Generations(3).members'
    set Scenario2 as 'Scenario.Generations(2).members'
    set Year2 as 'Year.Generations(2).members'
    set Axis1Set as 'crossjoin ({Accounts3},crossjoin ({Attribute Calculations2},crossjoin ({Events5},crossjoin ({Month3},crossjoin ({Scenario2},{Year2})))))'
    select
    {Measures.Total e-revenue} on columns,
    NON EMPTY {Axis1Set} properties ANCESTOR_NAMES, GEN_NUMBER on rows
    from Richmond.RichPOC
    As an Essbase newbie I'm unfamiliar with mdx and have no idea what this means, any help would be appreciated.
    Thanks
    Ed
    Edited by: Ed Higgins, AltiusConsulting.com on Oct 15, 2008 9:26 AM

    Hi garycris,
    Thanks for taking a look, I fear you may have hit the nail on the head, as I mention we are reporting on this using OBIEE, so we have imported the cube (BSO) into our OBI repository, OBI flattens the cube to make it look like a star schema it doesn't recognise the Accounts dimension correctly so we have to set it to be of type 'Other' after we have imported it, otherwise none of the figures in the Accounts dimension are actually reported (you can see the members but when included in a query no data is returned).
    Another issue we found was that OBIEE appeared to substitute the name 'Measures' for Accounts when building the query, so we made 'Measures' the default alias for the Accounts dimension, to add to the issue I probably should have mentioned that the aggregation rule in OBIEE for this fact column has been set to SUM rather than External_Agg, but Oracle support have previously indicated that this is OK to do. The issue originally arose because we wanted to extend on of our dimensions with additional attributes stored in a SQL database table.
    Sorry it is all a bit messy, the whole OBI with Essbase as a source is still relatively new, and it looks like there may be a few things for the mighty O to iron out, I posted this in here because the OBIEE forum has no posts with similar issues, so thanks for your help so far and anything else you can add.
    Ed

  • OBIEE - ESSBASE   ERROR - 1200467 - Error executing formula for [MDX query]

    I have an issue on essbase with a query with 50 member filters.
    The environment is OBIEE 11g over ESSBASE 11.1.2 with an ASO cube.
    The user for essbase are with database access filters.
    I have the following issue, OBIEE returns a query that filter 30 members and the query runs ok, but the same query with a 50 member filter returns the following error when i execute it on MAXL :
    MAXL Error
    ERROR - 1200467 - Error executing formula for [MDX query]: status code [1130203] in function [].
    ERROR - 1241101 - Unexpected Essbase error 1200467.
    i paste an example of the query that returns OBIEE
    With
    set [_Account2] as '{Distinct({[Account].[Allocated FTE - Budget]})}'
    set [_Employee0] as '[Employee].members'
    set [_Fund4] as 'Generate([Fund].Generations(2).members, Descendants([Fund].currentmember, [Fund].Generations(4), leaves))'
    set [_Position4] as '{Distinct({[Position].[POS111165], [Position].[POS111166], [Position].[POS111167], [Position].[POS111540], [Position].[POS112331], [Position].[POS113201], [Position].[POS113247], [Position].[POS113248], [Position].[POS113540], [Position].[POS113618], [Position].[POS113954], [Position].[POS114109], [Position].[POS114194], [Position].[POS115224], [Position].[POS115912], [Position].[POS115913], [Position].[POS116727], [Position].[POS117229], [Position].[POS117491], [Position].[POS117587], [Position].[POS117610], [Position].[POS117979], [Position].[POS119456], [Position].[POS121262], [Position].[POS121458], [Position].[POS121698], [Position].[POS123368], [Position].[POS124027], [Position].[POS124028], [Position].[POS124110], [Position].[POS124396], [Position].[POS125623], [Position].[POS125624], [Position].[POS126476], [Position].[POS127960], [Position].[POS129352], [Position].[POS129468], [Position].[POS129494], [Position].[POS129535], [Position].[POS129608], [Position].[POS129679], [Position].[POS129730], [Position].[POS129905], [Position].[POS130010], [Position].[POS130144], [Position].[POS133456], [Position].[POS134943], [Position].[POS135231], [Position].[POS135404], [Position].[POS135734]})}'
    set [_Program3] as 'Generate([Program].Generations(2).members, Descendants([Program].currentmember, [Program].Generations(3), leaves))'
    select
    { [Budget Item]
    } on columns,
    NON EMPTY {crossjoin({[_Account2]},crossjoin({[_Employee0]},crossjoin({[_Fund4]},crossjoin({[_Position4]},{[_Program3]}))))} properties GEN_NUMBER, [Account].[MEMBER_UNIQUE_NAME], [Account].[Memnor], [Program].[MEMBER_UNIQUE_NAME], [Program].[Memnor], [Employee].[MEMBER_UNIQUE_NAME], [Employee].[Memnor], [Fund].[MEMBER_UNIQUE_NAME], [Fund].[Memnor], [Position].[MEMBER_UNIQUE_NAME], [Position].[Memnor] on rows
    from [BCPSASO2.BCPS_ASO]
    any suggestions ?
    Thanks
    Niko
    Edited by: user8367101 on Mar 1, 2011 10:31 AM

    Here it is:
    It is a Windows Server 2003 R2
    Processor 8393 SE
    31.9 GB of RAM
    32-Bit
    How does "memscaling" works?
    I also think that are high but it is the way it was configured before I managed the application. For my DB
    Index Cache setting: 205800
    Index cache current value: 205800
    Data file cache setting: 33768
    Data file cache current: 0
    Data Cache setting: 877273
    Cata cache current: 71540
    Block Size: 65408

  • MDX Query to Calculated member

    Hi All,
    I have a MDX query which works fine, when converting the query to Calculated member, I get the same result for all the rows of a dimension.
    select {[Measures].[Contents]} on 0,
    ([Dim Products].[Product Alias].[Product Alias].members,
    (filter ([Dim Products].[Product ID].members,
    instr(left([Dim Productss].[Product ID].currentmember.member_Key,3),'112')>0))) on 1
    from
    <<CubeName>>
    Calculated Member:
    SUM(filter ([Dim Products].[Product ID].members,
    instr(left([Dim Products].[Product ID].currentmember.member_Key,3),'112')>0),[Measures].[Contents])
    When I drag the dimension product, the calculated member showing the same result for all the products. Can anyone let me know the syntax error here.

    Hi SQL GUN,
    For me it works :
    WITH MEMBER [Last3MonthsInternetSales] AS 
    AGGREGATE
    LastPeriods(-3, ClosingPeriod([Date].[Calendar].[Month], [Date].[Calendar].[Month].&[2005]&[12])), 
    [Measures].[Internet Sales Amount]
    SET MySet AS
    {[Date].[Calendar].[Month].&[2005]&[09],
    [Date].[Calendar].[Month].&[2005]&[10],
    [Date].[Calendar].[Month].&[2005]&[11],
    [Date].[Calendar].[Month].&[2005]&[12],
    [Date].[Calendar].[Month].&[2006]&[01],
    [Date].[Calendar].[Month].&[2006]&[02]}
    SELECT
    [Measures].[Internet Sales Amount],
    [Last3MonthsInternetSales]
    } ON COLUMNS,
    MySet
    } ON ROWS
    FROM [Adventure Works]
    Are u sure your query is correct. I think you might have a [Fiscal Month Num of Year] too much in your (). I'm not sure, but are u dragging the correct level of hierarchy ? Also in the part ON ROWS you seem to take a lot of levels with you.
    Why for example take .allmembers when you only want the actual last 3 of your currentmember?
    Can u check again?

  • Getting the MDX query select error when running a webi report on BI query

    Getting the following error when running a webi report on BI query :
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[D8JBFK099LLUVNLO7JY49FJKU] }  ON COLUMNS , NON EMPTY [ZCOMPCODE].[LEVEL01].MEMBERS ON ROWS FROM [ZTEST_CUB/REP_20100723200521]  failed to execute with the error Unknown error. (WIS 10901).
    I have gone through many threads related to this error. But not able find the steps to follow for resoultion.
    Please help in this regard.
    Thanks,
    Jeethender

    The Fix Pack is also for Client Tools--it is a separate download.  Please see the text below for ADAPT01255422
    ADAPT01255422
    Description:
    Web Intelligence generates an incorrect MDX statement when a characteristic and a prompt are used.
    The following database error happens: "The MDX query ... failed to execute with the error
    Unknown error (WIS 10901)."
    New Behavior:
    This problem is resolved.
    This information is also available in the Fixed Issues document for any Fix Pack greater than 2.2.

  • OBIEE Evaluate - "Essbase error : Repeated dimension in MDX query"

    Hi,
    I'm using OBIEE 11.1.1.6.2 BP1 on top of Essbase.
    I have a project dimension in Essbase with three levels - Total Project -> Project Class -> Project. I have created a new logical column in OBIEE to query two levels from project dimension, using evaluate function as below:
    Evaluate('%1.Members, %2.Members',  "Oracle Hyperion Planning"."ASOCUBE".""."Planning"."Gen2,Project" ,   "Oracle Hyperion Planning"."ASOCUBE".""."Planning"."Gen4,Project" ).
    The above column when used in analysis, works fine, returning "Total Project" and all the projects. It breaks however when any filter is applied on project dimension with the following error:
    "[nQSError: 96002] Essbase Error: Repeated dimension [Project] in MDX query".
    I donot have any MDX skills and would appreciate if anyone can explain this error and provide any workaround for this. Here's the MDX that fails:
    With
      set [_Project0] as '{[Project].Generations(2).Members, [Project].Generations(4).Members }'
    select
      {} on columns,
      {{[_Project0]}} properties GEN_NUMBER on rows
    from [ASOCUBE.Planning]
    where ([Project].[1000000-Treatment Plant])
    Many Thanks

    This issue regarding BIEE
       because MDX is wrong
    With
      set [_Project0] as '{[Project].Generations(2).Members, [Project].Generations(4).Members }'
    select
      {} on columns,
      {{[_Project0]}} properties GEN_NUMBER on rows
    from [ASOCUBE.Planning]
    where ([Project].[1000000-Treatment Plant])

  • ASO MDX query in outline??????

    Trying to write a MDX query for the Account member
    Hierarchy:
    Account
    A001
    A002
    A003
    A008
    Scenario
    AG00
    AG01
    AG06
    AG08
    AG09
    Organization
    ETCE
    E023
    E024
    E070
    I need to caluculate for the Account AG08 the value should be derived from AG07 and for the same account AG08 for the Organization member "E070" the value should be same as AG09 ( i.e AG09 = AG08 )
    I writen below query at the level "0" retrival query is good but when i use the Top level query "ETCE" parent level the value in "E070" is eliminating . Query writen below
    NONEMPTYMEMBER [A001],[A007]
    CASE
    WHEN (IS([Organization].CurrentMember, [E070])) THEN
    ([A009])
    WHEN (IS([Scenario].CurrentMember, [AG00])) THEN
    (([A007] * -1)/100)
    WHEN (IS([Scenario].CurrentMember, [AG01])) THEN
    (([A007] * -1)/100)
    WHEN (IS([Scenario].CurrentMember, [AG02])) THEN
    (([A007] * -3)/100)
    WHEN (IS([Scenario].CurrentMember, [AG03])) THEN
    (([A007] * -10)/100)
    WHEN (IS([Scenario].CurrentMember, [AG04])) THEN
    (([A007] * -20)/100)
    WHEN (IS([Scenario].CurrentMember, [AG05])) THEN
    (([A007] * -80)/100)
    WHEN (IS([Scenario].CurrentMember, [AG06])) THEN
    ([A007])
    ELSE
    Missing
    END
    At Bottom level "0" results are coming as expected but Its not working at the top level Organization ETCE level Please help ????
    Thanks
    Venu
    Edited by: user13351102 on Oct 28, 2011 5:19 PM
    Edited by: user13351102 on Oct 28, 2011 6:31 PM

    Guru's any help on this ASO Member formula query ??

Maybe you are looking for

  • Pages PDF on deasktop

    Dec 24, 2012 9:47 AM  I made a article in Pages, so I exported to the desk top by PDF now I can not move it to the tash, it keeps saying can not remove.  There must be a way. Please help.  When I click on Desktop it does not show in a finder window b

  • OS update from 7.0 to 7.1

    I have a bold 9790 running an OS 7.0. when checking for updates through the OTA or the Desktop Manager I get a message that no updates are available. I have downloaded directly the OS7.1 version related to my Network fromBlackberry website. I did the

  • FPMComponent required for Help Service to work in ESS?

    Hi, This question may sound stupid but I need to confirm. Is the FPMComponent required to be used for Help Service to work? I have configured help services. On some ESS pages it is being displayed. But it is not showing in some cases. I observed that

  • Strategy 50

    Hi, in planning strtegy 50, how raw materials and finished products were manufactured. where will be pir's, how sales order consume the pirs. pls advise the back ground process.

  • TS1424 Where as my password authorisation reminder gone. It was here last night not this morning and now my card has been frozen

    Why is the iPad not asking for a password when I download an app. My iPhone still asks for password and my iPad was last night but today the iPad isn't asking for my password why?