Using the MDX formula in the monetary Dimension

I wrote the MDX formula for a dynamic member in the currency dimension. I want only that Member to calculate a value if the scenario is REAL. In other words, I want that the Member of the currency to return $MISSING if the user seeks to Calc this dynamic rate for a member forcast or budget.

To do this, I used MDX with a qualifyier like this:

When is ([SCENARIO]. CurrentMember, [ACTUAL])

It works very well and when the scenario is real, it works perfectly. And once the BUDGET, the MP scenario returns $MISSING. Awesome!

But when the scenario is planned, I get a result. I have concluded that it is because the forecast members also formulas MDX associated with them that populate certain periods with actuals. This surprised me, because I wasn't expecting values sitting in a forecasting scenario would be marked in a way that could identify as being the actual expenditure. But the MDX is see it this way and, therefore, he is fighting through the qualification 'When' statement above and calculate a monetary value for the actual periods sitting in the forecasting scenario.

Anyone have any ideas on how to change the MDX formula on the Member of the currency so that it will ignore the ACTUAL data, sitting in no REAL scenarios - and give me a #MISSING? I wouldn't not rather the formula MDX sitting on members of scenario.

I'd be surprised if it actually happens, it's what you described, but I guess you never know.
Try to increase the resolution of your member order then it Calc after other formulas were evaluated. See what's happening.

Tags: Business Intelligence

Similar Questions

  • the advantage of using the date dimension.

    Hi gurus,
    I have a table of facts with 5 different dates as the shipping date, the order date.
    My question is
    Case 1. in fact, table I store date_keys (substitution integers) and create several date dimensions (alas) for each type of date as a date_dimension alias for the shipping date, an alias for the date of the order etc (in the model of declaration).

    Case 2: I just avoid using the date and just store date dimension (no integers) in fact table.
    In this way I will save 5 joints in 5 dimensions of different date.
    Note: I have need of these 5 participates in the declaration of model that will be used to create reports, not in the model ETL in dimension model ETL that one date will be there, but we must create on alias the dimension date for each type of report date.

    So, I was wondering what is the advantage of using the date dimension?

    It is more a question of design/statement of a question of ETL/ODI;).

    The advantage of the dimension is that you can select or aggregate data by year, weekends, quarter, month, day of the week...
    If you only keep the date, you had all these complexes of the formula in logic or calculated items columns (assuming you are using OBIEE). Performances will be affected and the code will be duplicated in many places.

    Hope that it answers the question.

    Jerome

  • Clarification of EPMA on multiple UDAs on import using the ads file

    Hello

    Its probably very simple, but I'm new to these things about EPMA dimensions import with a file of ads. (for application HPCM)

    -Suppose I have 3 Dimensions , entities and activities into account and for each, I need an alias to store and a couple of UDAs
    Now the dump here's what I have since an ads file

    H5. ! Section = Dimensions
    ' Name. DimensionClass | DimensionAlias | UseForMapping | UDADuplicate | CommentDuplicate | ConsolidationDuplicate | BSODimensionDataStorage...

    Accounts | Generic | Accounts | Y ||| +| LabelOnly | Sparse | N | LabelOnly | 0 ||| 0 | 0 ||| N | 0 | 3.
    Activities | Generic | Activities | Y ||| +| LabelOnly | Sparse | N | LabelOnly | 0 ||| 0 | 0 ||| N | 0 | 4.
    Alias | Alias | Alias | N|||||||||||||| 0 | 0 ||| 0 |||
    AllocationType | AllocationType | AllocationType | Y ||| +| DynamicCalc | Dense | N | StoreData | 0 | Dynamics | 1. 1 ||| N | 0 | 2.
    Measures | Measures | Measures | Y ||| +| LabelOnly | Dense | N | LabelOnly | 0 | Dynamics | 1. 1 ||| N | 0 | 1.
    Entity | Generic | Regions | Y ||| +| LabelOnly | Sparse | N | LabelOnly | 0 ||| 0 | 0 ||| N | 0 | 5.

    *Measures and type allocation are present by default in HPCM.

    H5. ! Article = DimensionAssociations
    ' BaseDimension | Property | TargetDimension
    Measures | Alias | Alias

    Now, according to my understanding, that I need to define an association alias for all Dimensions, I need alias to.

    My question is that I can use the same dimension of Alias for all dimensions or I have to create a new one for each ?

    Will be below notebook? (using alias dimension for all)
    ' BaseDimension | Property | TargetDimension
    Measures | Alias | Alias
    Accounts | Alias | Alias
    Entity | Alias | Alias
    Activities | Alias | Alias


    Also in my hierarchy of entities, a single member can have 2 Adu assigned.
    So for this example works http://docs.oracle.com/cd/E17236_01/epm.1112/epma_admin/frameset.htm?ch03s01s06.html

    +! Hierarchies = Plan1Account +.
    +'Parent; Child; UDA1; UDA2; UDA3; +

    I have to create 3 separate UDA UDA1, UDA2, UDA3 dimensions in the *! Section = size * and then associate them with the entity in the *! Article = DimensionAssociations


    Any help is appreciated.



    Ankur

    Syntax for the flat file EPMA: UDA and formula
    several aggregates loading

    See you soon... !!
    Rahul S.

    Published by: Renu on February 3, 2012 23:23

  • In the page using monetary dimension

    Hello

    How can I use monetary dimension on the page to enter some data in different currencies on level of data form.
    In fact, in my case, it was about 114 different currencies and I want to enter data into each form data with a specific currency.

    Thank you.
    Ahmed

    Hello
    This may seem a little strange, but I guess the correct answer to your question is do not to use the Multicurrency option in your application. Application multi-currency functionality is planned for companies/organizations that has features that work using fixed for most currencies. It also means, it is not ideal if your entities use to most of the multiple currencies. In your case, it would be much easier to maintain the feature using a custom currency dimension multi-currency and currency conversion rules.

    See you soon,.
    Alp

  • Using the formula of numbers

    Hello.

    I seems to have hit a wall with a simple spreadsheet, I'm developing.

    I want to administer the spreadsheet on my mac, but I want to be able to edit the spreadsheet through my people, using ipads. I also want to synchronize the file to the cloud so all have an updated file to use. I'm testing number and Excel. Excel works fine but the numbers I think has a bug. I want to use the numbers for several reasons.

    I've attached a screenshot of a fake spreadsheet which basically highlights what I want to achieve below. The spreadsheet works fine in number for mac, but on the iPad, I have an annoying problem that it may take a more complex formula to make it work.

    Basically, this is how I want my spreadsheet to work:

    Cells C4 - C6 and D6 - D4 are the date cells through which we enter the date in and out. The column days Out (column E) subtracts basically two dates. The return last column (column F) subtracts the Date in the column (column D) with the date in H1. So, I want to be able to sort the F column in descending order (which is the most important function of the spreadsheet, numbers of thugs are so unwanted) the spreadsheet works fine on my desktop, but on my iPad numbers puts a large number of column F (usually 73000 + according to the effective date, see line 7 in the attached photo). Those big numbers seem to be the number of days since the year "0".

    Here are the formulas that I currently use:

    Column E: IF (OR(C6=0,D6=0), "", D6−C6)

    Column F: IF (OR (C6 = 0, D6 = 0),"", $H$ 1−D6 ")

    Column H: today()

    I used the function DateDiff but that does not work.

    Is this a bug? Or can I somehow generate a formula that will require to work?

    Fixing unfortunately it's become outside my experience base with spreadsheets.

    Hi Duke,

    Can't tell what's going on, but I get the correct results, recording the same formulas in column d a new document worksheet in numbers for iPad.

    Results in column D are the same as yours. Results in column E are one day less than yours for the first two items (it's always may 20 here) and d 187 to the third point.

    What is the (real, not "scheduled") formula in the iPad version F4?

    Kind regards

    Barry

  • Using the PV formula in numbers

    Hello out there in cyber space.

    Can someone tell us how we can use the formula PV of Apple in a Numbers spreadsheet?  It is listed in the new forms, but how o to enter the ss?

    Help much appreciated.

    Team consult Ultra Luxembourg.

    Ultra high,.

    To get the function in a worksheet type '=' in the cell, you want the formula and type "pv", press return. Provide values for each of the arguments of the functions. Have not used the service myself so that's all I have for you. Good luck!

    Quinn

  • where the cell is used in a formula

    Is there a way to see where a particular cell could be used in a formula (in another cell)? I colored cells scattered throughout my spreadsheet without apparent reason. Looks like I found out once this cell was used inadvertently in a formula somewhere, and just by deleting the formula, the color disappeared. I could be wrong, but I don't know why that is stuck in my head.

    If there is no way to do, any suggestions on the color of compensation? Copy/paste in a vacuum/clear cell doesn't work or doesn't make a cell "no fill", in fact, it shows that a cell of the no fill. Change for a color then return to fill not only it brings back to the color it is.

    I initially though it resulted from the conversion of an Excel spreadsheet, but there are several of them now - more than a year later.

    I appreciate any help anyone can give me!

    Could you post a screenshot? Here's the end of Wayne on how to do it.

    SG

  • calculation using the formula node needs two clicks

    Hello

    I want to use this piece of code for a larger program. My goal is to take 10 values and calculate two values using a formula. I used the formula node as the calculation functions digital ordinary would be too heavy. If I click on save, it saves two values to a file.

    The problem that I am facing is that when I start the program, it works very well for the first time. The second time however, if I change the values, and then click on save, it still displays the previous values, or some altered values. I have to click on save twice to get the correct values. I don't understand the reason why this happens. Can anyone help?

    File attachment: Capture screen and VI.

    P.S. If the solution can help with the problem, I'm ready to change any part, but please, not irrelevant to suggestions on how to * improve my code *, because I've worked hard to make it work with another major project.

    I don't completely understand the description of your problem.  But I see two problems.

    1. the "Save" button actually belongs to the event that handles the record button.  And the case of the event should really be Jean-Claude Value Change of mouse down?

    2. your STOP at the bad mechanical action.  Since it happened so this just released, it is only true while you're pressing it.  It stops the upper loop, but can't stop low loop because your loop will also be waiting to save button to press.  Stop will always be false because you cannot press two buttons at the same time.

    Try to make your action to stop button to be changed when released.  You must return the button to false programmatically born of two loops.  In fact, it would be better to have a case of events for the stop button to stop the lower loop.

    I don't understand what you're trying to do in the upper loop.  You read a file as soon as possible, and it seems to be the same file that you create in the lower loop.  Why?

  • Using the values of cluster in a formula?

    Hi guys,.

    I can't try to use the unbundle after values of a cluster in a formula. This cluster is to colect and validate the values of the user. After that, I will need these values to insert into a formula, but the formula does not recognize the values. Any suggestions for this? It asks me to change the input and output, how do I do this?

    Thanks in advance,

    AMT


  • ScriptUI: get the dimensions of the container using the automatic formatting?

    No there is no way to get the dimensions of a ScriptUI container that uses the automatic formatting?  What container root (Panel or window)?  I'm writing a presentation for a group and I would like to react to the dimensions of the window or Panel, as it is resized, but it seems that this info is still not defined when the automatic formatting is used for containers of the ancestor.  No there is no way to know what size of the containers of the ancestor is without write handlers of layout custom for each of them?

    I think that it is either

    .size
    

    or

    .bounds
    

    which returns the values.

  • Using the quick formula to update the pay_element_entry_values_f table

    Hi friends

    I have a requirement to substitute an input value of element with a value obtained from a quick formula.

    I know that formula quick results used to fill the table pay_run_results and pay_run_result_values.

    Is it possible that I can use the quick formula for updating the tables pay_element_entries_f and pay_element_entry_values_f

    Thank you

    Yes, you can do it.

    Just call a formula within your formula and in the service function, you can write the pl/sql code you want.

    So, you can use the input element in the pl/SQL API.

    Just note that even if the input values are updated that are not considered payroll (at the time of execution of the payroll)

    It would be only on the other (or additional payroll runs)

  • Can we use the AGO on presentation columns that is in the formula for the column

    Hello

    I use obiee 10g

    I tried to use the AGO in the formula in the column and using the columns of the presentation but the error.

    Please suggest.

    Pull the measure in the criteria and fx-> Filters-> pull date column-> Advanced button-> convert this filter in SQL
    and use something like below

    Time.Date<= current_date="">
    Time.Date > = TIMESTAMPADD (SQL_TSI_DAY,-(365), CURRENT_DATE)

    So that any point of time this measure see the last 365 data.

    If brand aid

    on the other
    Thank you
    Published by: Srini VIEREN on 10 April 2013 08:51

    Try updating all your messages to get a suggestion for your new future/post

    Published by: Srini VIEREN on 29 April 2013 07:21

  • Formula using the following string...

    Hi all

    Given a set of strings that can is be parsed (see format below), possible to do a TWG
    a set of such strings - i.e. the chain may have the form (from
    another thread (pricing using the string formula)) the chain is a bulk
    dicount "record" for a product - product code not included for now.
    I want to use SQL exclusively, but am open to suggestions - examples
    using WITH are especially welcome - has spent time last night, a truck load
    rising WITH (of no use, it must be added ;))

    _100 (20) 90 (50) 80_ String format

    See the code below*-20 first purchased items cost 100,.
    the cost of the next 50 90 and all the foregoing is 80/unit.

    What I would like is to be able to build a 'table' that I can join real Oracle
    tables - imagine these "records" of the chain are coming thick and fast and for reasons x, y
    or z, prices can be written to a permanent table. A product code must be
    included, but I think fundamental analysis once did, adding such a code should not
    be a problem.

    So, if I have a set of these strings, how build a TWG?
    If it is the right approach.

    Any ideas, references, URL - be it, much appreciated.

    What would be really cool is if the code could take a product with an arbitrary
    number of discounts - 2, some 3 (that is, for example), 4... & c...

    TIA

    Paul...

    Code-Cerca Trova of another thread
    with t as(
      select '100(20)90(50)80' str from dual
    )
    select regexp_replace(regexp_substr(str,'\)\d*',1,2),'\)|\(','')from t  -- 80
    --select regexp_replace(regexp_substr(str,'\d*(\)|\()',1,1),'\)|\(','')from t  -- 100
    --select regexp_replace(regexp_substr(str,'\d*(\)|\()',1,2),'\)|\(','')from t  -- 20
    --select regexp_replace(regexp_substr(str,'\d*(\)|\()',1,3),'\)|\(','')from t  -- 90 
    --select regexp_replace(regexp_substr(str,'\d*(\)|\()',1,4),'\)|\(','')from t  -- 50
    My own efforts (did not know that Cerca Trova had done) - even if it's rubbish, at least
    I tried ;)
    WITH StrTab AS  -- *returns 100* = Price1
    (
      SELECT '100(20)90(50)80' iStr FROM Dual
    )
      SELECT(
              TO_NUMBER(SUBSTR(iStr, 1, INSTR(iStr, '(', 1, 1) -1))
            ) AS  "Price1" FROM StrTab;
    Below retrieves the number 20 - sample - allows to extract all the numbers
    SELECT -- *returns 20* = Quantity 1
    TO_NUMBER(
    SUBSTR('100(20)90(50)80', 
    (INSTR('100(20)90(50)80', '(', 1, 1) + 1) , 
    (INSTR('100(20)90(50)80', ')', 1, 1) - (INSTR('100(20)90(50)80', '(', 1, 1) + 1)))) 
    AS "Quantity1" FROM Dual;
    Published by: Paulie 9 may 2012 12:32

    Published by: Paulie 9 may 2012 12:36

    Hello

    Whenever you have a problem, please post a CREATE TABLE and INSERT statements for a small example of data like this:

    CREATE TABLE     table_x
    (      id     NUMBER (6)     PRIMARY KEY
    ,      txt     VARCHAR2 (30)
    )
    ;
    
    INSERT INTO table_x (id, txt) VALUES (0, NULL);
    INSERT INTO table_x (id, txt) VALUES (1, '75');
    INSERT INTO table_x (id, txt) VALUES (2, '100(10)80');
    INSERT INTO table_x (id, txt) VALUES (3, '100(20)90(50)80');
    COMMIT;
    

    In addition, to say what version of Oracle you are using. The query below work Oracle 10.1 and higher:

    WITH     cntr          AS
    (
         SELECT     LEVEL     AS n
         FROM     dual
         CONNECT BY     LEVEL     <= 5     -- worst case
    )
    ,     rates          AS
    (
         SELECT     x.id
         ,     x.txt
         ,     c.n
         ,     TO_NUMBER ( REGEXP_SUBSTR ( '0)' || x.txt
                                     , '[^()]+'
                                     , 1
                                     , (2 * c.n) - 1
                               )
                     )        AS start_qty
         ,     TO_NUMBER ( REGEXP_SUBSTR (  x.txt
                                     , '[^()]+'
                                     , 1
                                     , (2 * c.n) - 1
                               )
                     )        AS rate
         FROM     table_x        x
         JOIN     cntr        c  ON  c.n <= LENGTH (txt)
                                     + 1
                               - LENGTH (REPLACE (txt, '('))
    )
    SELECT       *
    FROM       rates
    ORDER BY  id
    ,            n
    ;
    

    Output:

    `       ID TXT                                     N  START_QTY       RATE
    ---------- ------------------------------ ---------- ---------- ----------
             1 75                                      1          0         75
             2 100(10)80                               1          0        100
             2 100(10)80                               2         10         80
             3 100(20)90(50)80                         1          0        100
             3 100(20)90(50)80                         2         20         90
             3 100(20)90(50)80                         3         50         80
    

    If you use the WITH clauses above in any question, you can use rates in table form in the following parts of the query.

    This assumes you know an upper limit for the number of items in the string. I took 5 different rates above, but you can easily change that to any fixed number. You can also derive the exact number of data themselves. I'll leave that as an exercise.

    You can use the analytical function of LEAD to add another column, end_qty, rates.

    Published by: Frank Kulash, 9 may 2012 10:24
    It also means that txt is well-formed. A space before or after the parentheses is probably correct, but in additional brackets, letters, several decimal places or sign in the same 'number' and things like that will cause all errors.

    START_QTY is a misleading name; I should have used something like LOW_QTY or PREV_QTY. In the example above, the row with id = 3 and start_qty = 20 applies in reality to the amount above 20, i.e. 21 to 50 inclusively (since 50 is START_QTY for this id).

  • Type of Dimension set using the Rules file

    Hello

    I tried to build a dimension (ASO) of accounts using the build parent-child and wanted to know if we can specify the dimension type "Account" to in the rules file?
    Also all the codes of the property can be given in a single column or placing them in separate columns a good practice? I need to make this hierarchy of dimension as 'dynamic '.

    I use the definition of dimension of the rules file option name.

    Thanks for your contributions!

    Yes you can do it in a rules file. In the setting dimension dialog box, go to the third tab. You can see the list of dimensions and the possibility of adding dimensions. Right-click on the desired size and then select Edit properties. Then, you can set the dimension type and dimension member properties.
    With regard to the properties. I always keep in separate columns of my source.

  • Build dimension using the rules file

    I use Oracle Hyperion worm 9.3.1. So that the dimensions of formatting built using the rule file, I came across the 'JOIN' and 'Create Join using' options. Can someone help me to know the difference between these two options?

    Published by: 873675 on July 20, 2011 12:25 AM

    The documentation explains the difference with examples, now I was going to post the link, but I might as well post the info from the link.

    Join the fields

    You can join several fields into one. The new field is given the name of the first field in the join. For example, if a data source has separate fields for the number of product (100) and the family of products (-10), you must join the fields (100-10) before loading in the Sample.Basic database.

    Create a field by joining fields

    You can reach the fields by placing fields joined in a new field. This procedure leaves intact original fields. Creating a field is useful if you need concatenate the fields of the data source to create a member.

    For example, if a data source has separate fields for the number of product (100) and the family of products (-10), you must join the fields (100-10) before loading in the Sample.Basic database. If, however, you want to keep the two existing fields in the data source, you can create a field (100-10) using a join. The data source includes now all three fields (100, - 10 and 100-10).

    To read other rule options - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/ddlfield.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • Droid X 2 saving images

    Is it possible to save the photos that someone sent to me through text messaging? I tried pressing the menu button (left button at the bottom), but nothing is displayed when the image is displayed. I wish I could put in my Gallery, so I can remove th

  • Professional product key Access2007

    The product key for my authentic version of Office Professional 2007 is not accepted on my new laptop.  It contains a zero he refuses because he says the product key doesn't have zeros or the letter o.  I do not see the product key on the label that

  • Existing port BB10 Webworks ask BBOS 6 and above devices

    Hi all Please guide me the easy steps to port my app BB10 BBOS 6 and above. My applications BB10 has features such as WCF service calls, Parsing XMl and JSON localstorage using format. and my file config.xml looks like at http://www.BlackBerry.com/ns

  • cannot send emails, but receive, (e-mail, using windows 7 windows live) suggestions please? Thank you

    I use windows live for my emails, it was working well. but now I can receive but can't send emails. Thank you. I use windows 7

  • I can't get to my favorite site-please help!

    There is no longer a specific website that I attended in the past that I can't access. I tried to access Bing, Google, Yahoo, etc. no luck.  I get always the emails from the site without difficulty, but when I try clicking on the link they provide to