Essbase formula problem

I am trying to write a run-rate formula in the scenario dimension that will accumulate values within a month at the daily level. My desired result would look something like:
Actual Run-Rate
Feb1 50 50
Feb2 50 100
Feb3 50 150
Feb28 50 1400
Mar1 50 50
The time dim is Yr, Season, Qtr, Mth, Wk, Day.
My formula is (for Feb): @sumrange(Actual, "Feb1":@Currmbr("Time"))
The formula validates successfully in the formula editor but when I attempt to retrieve data into Excel and error is thrown:
error executing formula for [runrate] (line0) invalid argument for function [@To]
I have tried several combinations and cannot get the cumulation to start over when the month changes. Anyone have any ideas on how I can get my desired result set without redesigning my application?
Thanks

Close, but not what he asked for. He wanted within
the current Month.
I would use the slight modification to:
IF( @ISLEV( "Time", 0)) @SUMRANGE( "Actual",
@LSIBLINGS( @CURMBR( "Time")));
You could also go with @Prior to accomplish this, but
I think it would need another layer of logic which I
won't dive into (too late at night... I don't even
know why I'm still typing...). Besides, I could be
wrong or way off on the wrong track here.Days are not siblings when there is a week level. Thanks

Similar Messages

  • Essbase 9.3 BSO member formula problem

    Hi All,
    I'm working on Essbase 9.3.1.
    We have an issue where a member formula, should use double quotations (") for a few members.
    In the dimension tables these quotes are not present in the formula, but they come up in the outline of the cube.
    All dimension builds are done through AIS because of which I'm in a fix.
    I've only worked on Essbase 7 and I'm not aware if there are any settings that I could look at in AIS to see if these quotes are appended while the dimensions are being built.
    The reason why this is an iss is that the test outline has the quotes, but the production outline does not have them although its the same flat file that is used for both.
    Please help out here.
    Thanks in Advance.
    Regards,
    Anindyo

    Obviously this won't resolve your entire problem, but just to answer the first question you can definitely use e.g. @GENMBRS successfully in the partition definitions for a single BSO cube over multiple ASO cubes in 9.3.1.

  • Essbase formula extract

    Hi,
    I am trying to extract metadata from an Essbase application into an Excel file, but when it extracts the formula, because the formula has several lines, the formula doesn't get extracted into a single column in the target Excel file.
    Can anyone help me fix that?
    Thank you,
    Adina

    Was your problem resolved else I can help you

  • Numbers formula problem

    I have the following numbers, 20 in total. Numbers are from 0-9.
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
    3 7 8 1 2 6 6 7 3 1   0   7   0   1   2    2   1   6   8   2
    i have another row where I want to put all the numbers that exist in the row 2. numbers that do not appear in that row should not appear in my other row.
    But i just want to display the numbers once. The result would be like this:
    0 1 2 3 6 7 8
    Each number in a different cell.
    4,5 and 9 do not appear.
    I Hope you could understand my problem. I could post a screenshot, but this forum is buggy.
    many thanks,

    Splitting a series of data into more than one column or row complicates life.  But if it is important to do that (perhaps for ease of data entry) then here is one way to accomplish what I understand you are looking for:
    This is the sample data table (I reduced the number of columns for demonstration purposes):
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    DATA 1
    16
    15
    17
    16
    19
    17
    16
    16
    16
    18
    15
    14
    14
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    DATA 2
    11
    9
    12
    10
    12
    14
    13
    11
    12
    14
    15
    13
    14
    15
    18
    Then you can create a "Helper Table" that looks like this (in practice it will have many more rows):
    Value
    Distinct
    Ranked
    DATA 1
    DATA 1
    9
    16
    16
    10
    15
    15
    11
    17
    17
    12
    16
    13
    19
    19
    14
    17
    15
    The formula in A2 of the Helper Table, copied down as far as you can go until you get a red triangle range error is, is:
       =INDEX(UNION.RANGES(FALSE,Data::$A$1,Data::$2,Data::$4),1,ROW())
              (The $2 and $4 appear in this pasted formula means to anchor to those rows. You get that by clicking the row number to select the row)
    The formula in B2, copied down, is:
       =IFERROR(IF(COUNTIF(A$1:A2,A2)=1,A2,""),"")
    The formula in C2, copied down, is:
        =IFERROR(SMALL(B,ROW()−1),"")
        (The B here is the column B address token which you get by clicking the column letter to select the column.)
    Your summary table would look something like this:
    Durchmesser
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    The formula in B2, copied right until you get a blank, is:
       =IFERROR(INDEX(Helper Table::$C,COLUMN()),"")
    SG

  • File to Essbase Interface Problem

    Hi,
    I have a interface from text file to essbase cube.
    but I have a problem as below;
    Have you any suggestions?
    thanks...
    [2011-12-13T15:43:39.379+02:00] [odi] [WARNING] [] [oracle.odi.agent] [tid: 14] THROW[[
    com.sunopsis.jdbc.driver.file.redir.NotImplementedException
         at com.sunopsis.jdbc.driver.file.redir.FileConnection.rollback(FileConnection.java:57)
         at com.sunopsis.dwg.dbobj.SnpSession.rollbackAllTansactions(SnpSession.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2099)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    [2011-12-13T15:43:39.379+02:00] [] [ERROR] [ODI-1217] [] [tid: 14] [arg: File_to_Essbase_ANSI] [arg: 53001] [arg: 7000] Session File_to_Essbase_ANSI (53001) fails with return code 7000.[[
    ODI-1226: Step File_to_Essbase_ANSI fails after 1 attempt(s).
    ODI-1240: Flow File_to_Essbase_ANSI fails while performing a Loading operation. This flow loads target table Projects.
    Caused By: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Vector.java:427)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.getBindVar(SnpSessTaskSql.java:1860)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:643)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    ]]

    Murali,
    You get this error when  Adapter specific attributes are missing..
    Maintain Adapter Specific Attributes for business system in Integration directory.
    Select your business system...Then select Service-->Adpater Specific identifiers.
    from right hand window..
    Set Logical System ID(of  R/3 system), R/3System ID and client.
    Let us know if you need more details.
    Nilesh

  • Dynamic calc member formula problem

    Hello Gurús!
    We are using a member called "Full Year" that is a Dynamic calc with a member formula that calls another dynamic calc. For any reason, it is not working when we try to retrieve it from Excel Add-in.
    Any ideas? Any problem for put a Dynamic Calc as member formula of antoher Dynamic calc?
    Thanks for your time!
    Regards,
    Ariel

    that can be the problem, depending on what dimension they are in, the order the two pass occurs could couse you issues. In cases like this I've had to put the entire calculation into the member I wanted to calculate and bypass the dependency

  • GETPIVOTDATA formula problem with apostrophe

    Excel 2010 on Win7 - Having a problem with the GETPIVOTDATA formula.
    GETPIVOTDATA(data_field, pivot_table[, field1, item1]
    If "data_field", "field1" or "item1" contain a value that has an apostrophe (i.e. single quote), the function returns a #REF! error. It works fine in all other cases. I tried placing those values within brackets (ex: "[Moody's]")
    and using the old SQL trick of doubling up the apostrophe (ex: "Moody''s"), and combining both those methods. But no luck. Has anyone else been able to solve this problem?
    Thanks.

    Hi Marak,
    Thank you for posting in the MSDN Forum.
    Since the issue is more relate to the end-user, I'd like to move it to Excel IT pro forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Formula problems

    Hello,
    I've a problem with a formula in CR XI which I can't solve. I hope that some here can help me.
    The problem is:
    Sum({@formule})
    The warning is:
    Cannot summarize this field.
    How can I solve this?

    Hi Erwin,
    Try below Steps:
    1. Create these three formulas:
    @Formula 1
    WhilePrintingRecords;
    NumberVar RunningTotal;
    RunningTotal := 0
    @Formula 2
    WhilePrintingRecords;
    NumberVar RunningTotal;
    RunningTotal := RunningTotal + {@formula field}
    //Substitute your formula field name for {@formula field}, In your case it is @formule
    @Formula 3
    WhilePrintingRecords;
    NumberVar RunningTotal;
    RunningTotal;
    2. Insert the formulas on the report:
    u2022 Place {@Formula 1} in the Group Header section (you can suppress this formula if you want)
    u2022 Place {@Formula 2} in the Detail section (you can suppress this formula if you want)
    u2022 Place {@Formula 3} in the Group Footer section.
    To change how often this running total resets or displays, you can move @Formula 1 and/or @Formula 3 to other sections. For example, to have this running total act like a grand total, move @Formula 1 to the Report Header, and move @Formula 3 to the Report Footer.
    In your case, you can try below:
    u2022 Place {@Formula 2} in the section where you have placed your @formule field (Place this formula next to the @formule field)
    u2022 Place {@Formula 3} in the section where you want the Grand total to be displayed. (For instance Report Header)
    Regards,
    Alpana

  • Formula problem, sometimes don't add the value

    Hi everybody,
    I'm trying to learn manage this tool (crystal report) I use visual basic 2005 with the crystal for visual basic. Actually I've a problem with some formula fields. My report has several summarize columns (I sum the values) , not all the columns have values so not all the result fields has values. The problem becomes because I have to sum the result fields, and if i do a formula with this:
    + {@horasTinsitu} + {@ConvertirEnSegundosTreal} + {@ConvertirEnSegundosTtaller}
    But only works if the three formulas has values, if one formula is empty the result looks empty, I think the problem was in the value of the formulas and I tried to evaluate with u201Cisnullu201D but neither.
    Please, somebody has an idea.
    Thanks everybody
    Well my English it's bad but I think it's possible understand it.

    I finally do it, this is the code
    local numbervar InSitu;
    local numbervar Remote;
    local numbervar Taller;
    local numbervar Phone;
    if isnull({@T_insitu}) then  //{@T_insitu} is the formula to summarize details and add their values...
        InSitu:= 0
    else
        InSitu:= {@T_insitu};
    if isnull({@T_remoto}) then
        Remote:= 0
    else
        Remote:={@T_remoto} ;
    if isnull({@T_taller}) then
        Taller:= 0
    else
        Taller:= {@T_taller};
    if isnull({@T_telefono}) then
        Phone:= 0
    else
        Phone:={@T_telefono} ;
    InSituRemoteTallerPhone;
    Now looks easy but it's very diferent of the visual code I usually do.
    well  THANK YOU VERY MUCH EVERY BODY...
    Dani

  • Substring formula problem for Traditional Chinese

    Dear all,
    I created two InfoObjects (type: character, length: 60)in order to load one field with 100 characters from R/3. I created formula in transfer rule using "Substring" function for each of the two InfoObjects (e.g. Substring(field_name, 0, 60) and Substring(field_name, 60, 40). The data is in Traditional Chinese and both R/3 and BW are Unicode verison. The first InfoObject seems always get less than 60 characters, but the second InfoObject get 40 characters correctly. When I use English data to test, both InfoObjects get correct legnth of data. Does anyone come across this problem before? Thanks a lot.

    Download CS6 products
    Mylenium

  • Formula Problem in a Query

    Dear Gurus,
    Created a formula
    M Primary= M1 Sec PlanM(Closing Stock+Intransit)-Mopening Stock
    Where MClosing stock= Msecplan*Stocknorms
    After applying the formula, i am getting the following output.
    Calmonth      Sec Plan  norms  Closing stock      Opening Stk     MPrimary Plan
    08.2007           15.750    45        585                        0              <b>-585.0000</b>
    09.2007           14.180    45         0                           0               <b>35.4500</b>
                                                                                    Whereas the value i want to display in sept priplan column "549.000"
    Any solutions for this kind of issue?
    Thanks in advance for all the solution providers
    Regards
    Hari

    Hi,
    That is similar to what I have tried with my conditions (I have also tried with formulas as you are suggesting), but I have not been sucessful. Yes, all key figures are zero for the order, but if I do not drill down on order then the qty is not zero anymore and my condition/formula stops working.
    The method you suggest could probably solve the "number of orders" problem, but I also have a similar problem with "number of materials" and this is more tricky as we also have the same material for many orders...so my qty can be zero on one order item, but not zero on another so this would require some kind of exception aggregation on both order and item.
    Best regards,
    Mikael

  • Referring to Cells in Formulas problem.

    I have 2 Tables (and one chart) on one sheet. Table 1 has 3 columns viz. Dates, Electricity & Gas
    The Dates column looks like this
    01/01/11 - 31/01/11
    01/02/11 - 28/02/11
    01/03/11 - 31/03/11
    01/04/11 - 30/04/11
    etc etc
    Table 2 calculates the number of gas units and kWh of electricity used during the date intervals in Table 1. What I've (unsuccessfully) tried to do is when Table 2 calculates the number of gas units and kWh of electricity these are automatically entered in the appropriate cell next to the relevant date interval in Table 1.
    For example in Table 2 the number of Gas units is calculated in cell D11 and the kWh of electricity in cell I11 for a particular date interval corresponding to that in Table 1. The data in Table 2 are manually entered for each date interval given in Table 1. What I would like to do is get Numbers to automatically enter the value that is calculated in cells D11 & I11 in Table 2 into the appropriate cells in Table 1 e.g. for 01/01/11 - 31/01/11 the cells in Table 1 would be C4 & D4 for 01/02/11 - 28/02/11 the cells in Table 1 would be C5 & D5 and for 01/03/11 - 31/03/11 the cells in Table 1 would be C6 & D6 and so on up to 01/12/11 - 31/12/11 whose cells would be C15 & D15.
    I've tried doing what is suggested in the *'Referring to Cells in Formulas*' help page but I must be doing something wrong as it just isn't working for my Sheet and Tables. If anyone can hopefully understand my problem and point to a solution I'd be very grateful.
    If anyone wants a copy of the sheet to play around with they are more than welcome to have it it's just that I don't know how to make it available on this forum or show the tables as they are set out here on the forum.
    Thanks
    Thanks

    As Yvan said, it can't be done the way you want. I personally like to have the backup data behind calculations whenever possible, versus overwriting the older data. I would use separate tables instead of a single Table 2.
    I can't quite figure out your "dates". Is it one column or two? For example, is "01/01/11 - 31/01/11" in a single cell? I'm going to assume that's how it is and that it is column A.
    Here is how I might do it:
    1) I would move Table 2 to a different sheet (Sheet 2) and give it a name _exactly the same as the first period in column A_. In other words, it would be named "01/01/11 - 31/01/11" (without the quotes). This table will be for this period only. I would also go to the inspector and click "name" so the table name is shown above the table.
    2) In Sheet 1, Table 1 (your Table 1) I would use the following formula in what you said was column C and a similar one for column D
    =IFERROR(INDIRECT("Sheet 2::'"&A&"'::I11"),"")
    Note that '"&A&"' has triple-quotes around it. The first one is an apostrophe followed by a quote. The second is a quote followed by an apostrophe. The apostrophes are required due to some of the characters being used in the table names. Normally you wouldn't need them.
    3) For the next month, duplicate Table '1/01/11 - 31/01/11' by right clicking on it in the sidebar and choosing "duplicate". Reposition the duplicate on your sheet, rename it with another set of dates (make sure it matches exactly; copy/paste can be your friend), and enter the data for that period. Table 1 will find it automatically.

  • Formula Problem in Update Rule

    Hi all,
    I am facing one problem with formula in update rule.
    I have written one formula in update rule which it is working in development, but I moved the content to quality there it is not working.
    I have used the following formula.
    IF( NEGATIVE( TRUNC( Total Revenue in USD ) ) >= 5,000,000, 1, 0 )
    Best Regards,
    SGK

    Hi
    It should work fine,If you still facing the same problem,do one thing(work around)
    Create a transport request for your cube with indata flow before,and then activate your update once again in dev server,then transport it...
    Hope it helps
    Thanks
    Teja

  • OBI to Essbase Connectivity Problems

    We are trying to connect OBI 11.1.1.5 to Essbase 11.1.1.3. We are able to import essbase cubes into the rpd, and even view the members of those cubes while the rpd is in offline mode. When the bi server is brought back up however, every query we run against the new subject results in:
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96001] Essbase Error (HY000)
    This error is hardly specific enough (yes I have checked the manuals) for us to troubleshoot the issue. In addition this rather large problem we did notice that we are unable to view the members of the essbase cubes in the rpd when the rpd is opened in online mode. Is this significant? Our OBI install is pointing to an 11.1.1.5 essbase client file - is this also a problem (since the client file is newer than the version of essbase that we are running)?
    We have tried everything we can think of to get this to work. Any help anyone could offer would be greatly appreciated.

    Hi,
    We are facing the same issue, just that our OBI version is 11.1.1.6.2 (BP1 patch applied) fetching cube from Essbase 11.1.1.2.1. I tried many approaches but none of them worked.
    Were you able to address this issue? If yes could you pls give us any pointer.
    Any help on this is highly appreciated, since we have go-live in few days.
    Problem in nutshell: Am able to import the cube from in offline & even in online mode. But able to see data only in offline mode but not in the online mode.
    In Online mode, am trying to connect to the rpd hosted on IBM AIX 64 bit mode OS, where as in offline mode, am accessing the local rpd.
    Regards,
    Sarat Nallapati

  • Frustrating Formula Problems

    I'm having a frustrating problem in Numbers. When I press the equals key and click on a cell in another table it returns as an invalid formula error. The formula is:
    [='Table 10' :: B7]
    But when I hit return it changes to
    [=Table 10 :: B7]
    I have tried to enter the formula manually but Numbers keeps changing what I enter. Every other cell works except that one.
    Could anyone replicate this for me? I want to know if it's Numbers or just me, here's how.
    I have three tables "Table 9", "Table 10" and "Table 11"
    Table 10 has five links to Table 9
    B2 [='Table 9' :: A9]
    B3 [='Table 9' :: A10]
    B4 [='Table 9' :: A11]
    B5 [='Table 9' :: A12]
    B6 [='Table 9' :: A13]
    And the sum of those linked values
    B7 [=SUM(B2:B6)]
    Table 11 should link to the sum in Table 10
    B2 [='Table 10' :: B7]
    BTW, ignore the stuff in bold that's the cell coordinates.

    CP264 wrote:
    I'm having a frustrating problem in Numbers. When I press the equals key and click on a cell in another table it returns as an invalid formula error. The formula is:
    [='Table 10' :: B7]
    But when I hit return it changes to
    [=Table 10 :: B7]
    When I try to enter +='Table 10' :: B7+ into a cell in some other table using a US English Numbers, the quotes around the +Table 10+ disappear when I type the B in B7. The behavior is as if Numbers is saying that the quotes are not necessary. It seems that Numbers is reparsing the formula with each key I type.
    I have tried to enter the formula manually but Numbers keeps changing what I enter. Every other cell works except that one.
    In a cell in another table when I type = and then click on cell B7 in Table 10, it creates the cell reference +Table 10 :: B7+ (no quotes).
    Could anyone replicate this for me? I want to know if it's Numbers or just me, here's how.
    I have three tables "Table 9", "Table 10" and "Table 11"
    Table 10 has five links to Table 9
    B2 [='Table 9' :: A9]
    B3 [='Table 9' :: A10]
    B4 [='Table 9' :: A11]
    B5 [='Table 9' :: A12]
    B6 [='Table 9' :: A13]
    And the sum of those linked values
    B7 [=SUM(B2:B6)]
    Table 11 should link to the sum in Table 10
    B2 [='Table 10' :: B7]
    Note, as indicated above, I'm unable to get Numbers to accept the quotes around the +Table XX+ notation.
    Pardon my ignorance, but what localization do you use in Australia? This whole thing smells a bit like a localization issue of which there have been several in Numbers (Yvan is the resident expert on this topic).
    So in some cell formulas you have quotes around the +Table XX+ and in others you don't? Do these cells all have the same format setting?

Maybe you are looking for

  • When i click on a app icon it won't load reverts straight back to homepage??

    have a iphone 4 running the current 4.3.3 version, but when I try to use any of the applications I have, the screen turns black and then reverts back to the home page. I have tryed restoring and resetting the phone but this has not changed anything.

  • Reading data from a serialized file(Data is in special characters &symbols)

    Please help me.... I struck up at reading data in a serialized file. It is a text file with some special characters. My question is - Is it a real serialized file or some bad file? If it a real good one please tell me which method i have to use to re

  • Application Error in running jar file?What to do?

    Hi I have a code for taking snapshots from a mobile camera. I have installed the jar file in w810i(sony ericcson).when i run the jar file i get an application error?What to do? I have tried another program to take a snapshot in this mobile.so device

  • Dot matrix printer

    Is it possible to use any dot matrix printer ? How ?

  • Predicate info in query tuning

    Hi All, I just wished to know , what kind of help the predicate information do while you are given the task of SQL tuning. I am refering the predicate information which appears after EXPLAIN PLAN is done for some query with tracing ON. I refered many